-
-
Save parzibyte/0bb39aa8d11852d3201a1a4cf4ae8466 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Puedes copiar y pegar el contenido | |
de este script directamente en la consola | |
de MySQL | |
*/ | |
CREATE DATABASE IF NOT EXISTS usuarios_login; | |
USE usuarios_login; | |
/* Luego crea la tabla de los usuarios */ | |
CREATE TABLE IF NOT EXISTS usuarios( | |
id bigint unsigned not null auto_increment, | |
correo varchar(255) not null unique, /*UNIQUE para evitar la duplicidad de usuarios*/ | |
palabra_secreta varchar(255) not null, | |
primary key(id) | |
); | |
/* Nota: no borres la siguiente línea en blanco */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment