Merge parent_id migration into single 2026021000 upgrade script
This commit is contained in:
@@ -74,3 +74,13 @@ ALTER TABLE `ident_switch`
|
||||
smallint
|
||||
DEFAULT NULL
|
||||
AFTER `notify_sound`;
|
||||
|
||||
-- Add alias support: parent_id links an alias identity to a parent account
|
||||
ALTER TABLE `ident_switch`
|
||||
ADD `parent_id`
|
||||
int UNSIGNED
|
||||
DEFAULT NULL
|
||||
AFTER `iid`;
|
||||
|
||||
ALTER TABLE `ident_switch`
|
||||
ADD INDEX `IX_ident_switch_parent_id` (`parent_id`);
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
-- Add alias support: parent_id links an alias identity to a parent account
|
||||
ALTER TABLE `ident_switch`
|
||||
ADD `parent_id`
|
||||
int UNSIGNED
|
||||
DEFAULT NULL
|
||||
AFTER `iid`;
|
||||
|
||||
ALTER TABLE `ident_switch`
|
||||
ADD INDEX `IX_ident_switch_parent_id` (`parent_id`);
|
||||
Reference in New Issue
Block a user