Fixes to file structure
This commit is contained in:
12
init_data/create.sql
Normal file
12
init_data/create.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE users (
|
||||
UserID SERIAL PRIMARY KEY,
|
||||
Username VARCHAR(50) UNIQUE NOT NULL,
|
||||
Password CHAR(60) NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE FavoriteTeams (
|
||||
TeamID INT,
|
||||
UserID INT REFERENCES users(UserID),
|
||||
TeamName VARCHAR(50),
|
||||
TeamLogo VARCHAR(100)
|
||||
);
|
||||
Reference in New Issue
Block a user