commit
32a36cceff
444 files changed
+67186
No files matched your search
@@ -0,0 +1,10 @@
|
||||
-- Migration tracking table
|
||||
-- This table keeps track of which migrations have been applied
|
||||
CREATE TABLE IF NOT EXISTS schema_migrations (
|
||||
id SERIAL PRIMARY KEY,
|
||||
filename VARCHAR(255) UNIQUE NOT NULL,
|
||||
applied_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
||||
-- Create index for faster lookups
|
||||
CREATE INDEX IF NOT EXISTS idx_schema_migrations_filename ON schema_migrations(filename);
|
||||
Reference in new issue
Block a user