fix(database): add sort column to nodes table
This commit is contained in:
parent
26b2afe06d
commit
ff574b3955
2
initialize/migrate/database/02109_node_sort.down.sql
Normal file
2
initialize/migrate/database/02109_node_sort.down.sql
Normal file
@ -0,0 +1,2 @@
|
||||
ALTER TABLE `nodes`
|
||||
DROP COLUMN `sort`;
|
||||
3
initialize/migrate/database/02109_node_sort.up.sql
Normal file
3
initialize/migrate/database/02109_node_sort.up.sql
Normal file
@ -0,0 +1,3 @@
|
||||
ALTER TABLE `nodes`
|
||||
ADD COLUMN `sort` INT UNSIGNED NOT NULL DEFAULT 0
|
||||
COMMENT 'Sort' AFTER `enabled`;
|
||||
Loading…
x
Reference in New Issue
Block a user