-
This commit is contained in:
11
migrations/003_add_token_prefix.down.sql
Normal file
11
migrations/003_add_token_prefix.down.sql
Normal file
@ -0,0 +1,11 @@
|
||||
-- Migration: 003_add_token_prefix (down)
|
||||
-- Remove token prefix field from applications table
|
||||
|
||||
-- Drop constraint first
|
||||
ALTER TABLE applications DROP CONSTRAINT IF EXISTS chk_token_prefix_format;
|
||||
|
||||
-- Drop index
|
||||
DROP INDEX IF EXISTS idx_applications_token_prefix;
|
||||
|
||||
-- Drop the prefix column
|
||||
ALTER TABLE applications DROP COLUMN IF EXISTS token_prefix;
|
||||
Reference in New Issue
Block a user