mirror of
https://github.com/btouchard/ackify-ce.git
synced 2026-02-08 14:58:36 -06:00
- Add golang-migrate based migration CLI in cmd/migrate/ - Extract hardcoded SQL migrations from connection.go to proper migration files - Create 0001_init migration with complete signatures table schema - Remove embedded migrations from Go code for cleaner separation - Support up/down/version/drop migration operations - Migration files follow semantic versioning starting at 0001
9 lines
271 B
SQL
9 lines
271 B
SQL
-- Drop trigger and function
|
|
DROP TRIGGER IF EXISTS trigger_prevent_created_at_update ON signatures;
|
|
DROP FUNCTION IF EXISTS prevent_created_at_update();
|
|
|
|
-- Drop indexes
|
|
DROP INDEX IF EXISTS idx_signatures_user;
|
|
|
|
-- Drop signatures table
|
|
DROP TABLE IF EXISTS signatures; |