Skip to content

Commit

Permalink
Add slug migration
Browse files Browse the repository at this point in the history
  • Loading branch information
@enwerro committed Mar 20, 2024
1 parent b47df1e commit e3810ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ALTER TABLE tbl_event_type ADD COLUMN slug VARCHAR(255) NOT NULL UNIQUE;
ALTER TABLE tbl_event_type ADD COLUMN slug VARCHAR(255) DEFAULT 'default_value' NOT NULL UNIQUE;

CREATE INDEX slug_index ON tbl_event_type (slug);

0 comments on commit e3810ba

Please sign in to comment.