DATABASE if NOT EXISTS college;
use database college;
CREATE TABLE profile
(id INT primary key auto_increment,
name varchar(255),
gender BOOLEAN ,
city varchar(255) NOT null
);
CREATE TABLE students_id
(id int references profile(id),
login varchar(30),
pass varchar(255) NOT null,
unique(login)
)
CREATE DATABASE if NOT EXISTS `college`;
USE `college`;