Skip to content
Snippets Groups Projects
Commit eea2d8d7 authored by Adeel Ahmad's avatar Adeel Ahmad
Browse files

Upload New File schema sql

parent f0c69869
No related branches found
No related tags found
Loading
CREATE TABLE IF NOT EXISTS User (
email VARCHAR(30) PRIMARY KEY,
password VARCHAR(15) NOT NULL,
firstname VARCHAR(15) NOT NULL,
familyname VARCHAR(15) NOT NULL,
gender VARCHAR(10) NOT NULL,
city VARCHAR(30) NOT NULL,
country VARCHAR(30) NOT NULL
);
CREATE TABLE IF NOT EXISTS LoggedIn (
token VARCHAR(30) PRIMARY KEY,
email VARCHAR(30) NOT NULL
);
CREATE TABLE IF NOT EXISTS Messages (
messageid INTEGER PRIMARY KEY AUTOINCREMENT,
content VARCHAR(300),
recipient VARCHAR(30) NOT NULL,
email VARCHAR(30) NOT NULL
);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment