migrations needs order fix, fixing to save
This commit is contained in:
9
server/migrations/20250301142238_create_profiles.sql
Normal file
9
server/migrations/20250301142238_create_profiles.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
-- Add migration script here
|
||||
CREATE TABLE profiles (
|
||||
id BIGSERIAL PRIMARY KEY,
|
||||
name TEXT NOT NULL UNIQUE,
|
||||
created_at TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
||||
-- Create default profile for existing data
|
||||
INSERT INTO profiles (name) VALUES ('default');
|
||||
Reference in New Issue
Block a user