mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 16:20:13 +00:00
chore: move migrations to rust
also adds some basic test seed data
This commit is contained in:
parent
277bfebb33
commit
47c5990218
66 changed files with 173 additions and 10 deletions
10
crates/migrate/data/migrations/41.sql
Normal file
10
crates/migrate/data/migrations/41.sql
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
-- database version 41
|
||||
-- fix statistics counts
|
||||
|
||||
alter table info alter column system_count type bigint using system_count::bigint;
|
||||
alter table info alter column member_count type bigint using member_count::bigint;
|
||||
alter table info alter column group_count type bigint using group_count::bigint;
|
||||
alter table info alter column switch_count type bigint using switch_count::bigint;
|
||||
alter table info alter column message_count type bigint using message_count::bigint;
|
||||
|
||||
update info set schema_version = 41;
|
||||
Loading…
Add table
Add a link
Reference in a new issue