account page: can now reorder entries under shops sections by drag and drop

This commit is contained in:
2026-01-26 13:51:40 -07:00
parent a2d8993e0e
commit a50c0ef18d
14 changed files with 682 additions and 88 deletions
@@ -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)
);