Fixes to file structure

This commit is contained in:
Lucas Patenaude
2024-04-30 21:19:35 -06:00
parent 184707de83
commit 289e7641b4
7 changed files with 15 additions and 15 deletions

12
init_data/create.sql Normal file
View 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)
);