account page: can now reorder entries under shops sections by drag and drop
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DROP TABLE accounts_page_platform_order_indexes;
|
||||
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE accounts_page_platform_order_indexes (
|
||||
account_id INTEGER NOT NULL,
|
||||
platform platform NOT NULL,
|
||||
order_index SMALLINT NOT NULL CHECK (order_index >= 0),
|
||||
|
||||
PRIMARY KEY (account_id, platform),
|
||||
UNIQUE (account_id, order_index)
|
||||
);
|
||||
Reference in New Issue
Block a user