Working base server with migrations and build steps ironed out #1
@@ -2,7 +2,7 @@ export const up = (pgm) => {
|
||||
pgm.sql(`
|
||||
CREATE TABLE location (
|
||||
id UUID PRIMARY KEY,
|
||||
name TEXT UNIQUE NOT NULL
|
||||
name TEXT UNIQUE NOT NULL,
|
||||
created_at TIMESTAMP DEFAULT NOW(),
|
||||
updated_at TIMESTAMP DEFAULT NOW()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user