diff --git a/migrations/004_create-location-table.js b/migrations/004_create-location-table.js index 6a0c267..6074cbf 100644 --- a/migrations/004_create-location-table.js +++ b/migrations/004_create-location-table.js @@ -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() );