Skip to content

Commit

Permalink
minor changes to db schema
Browse files Browse the repository at this point in the history
  • Loading branch information
LordFarquaadtheCreator committed Oct 18, 2024
1 parent 26fd363 commit 19725ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion databaseSchema/apikey.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CREATE TABLE apikey (
CREATE TABLE IF NOT EXISTS apikey (
uid SERIAL PRIMARY KEY,
name VARCHAR NOT NULL,
timeCreated TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
Expand Down
3 changes: 1 addition & 2 deletions databaseSchema/projects.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CREATE TABLE projects (
CREATE TABLE IF NOT EXISTS projects (
uid SERIAL PRIMARY KEY,
name VARCHAR NOT NULL,
"short-desc" VARCHAR NOT NULL,
Expand All @@ -9,4 +9,3 @@ CREATE TABLE projects (
"tech-stack" TEXT[],
cohort VARCHAR,
topic TEXT[]
);

0 comments on commit 19725ab

Please sign in to comment.