PluralKit/crates/migrate/data/migrations/42.sql
alyssa 47c5990218 chore: move migrations to rust
also adds some basic test seed data
2025-07-24 01:36:04 +00:00

11 lines
No EOL
495 B
SQL

-- database version 42
-- move to 6 character HIDs, add HID display config setting
alter table systems alter column hid type char(6) using rpad(hid, 6, ' ');
alter table members alter column hid type char(6) using rpad(hid, 6, ' ');
alter table groups alter column hid type char(6) using rpad(hid, 6, ' ');
alter table system_config add column hid_display_split bool default false;
alter table system_config add column hid_display_caps bool default false;
update info set schema_version = 42;