PluralKit/PluralKit.Core/Database/Migrations/14.sql
2021-06-10 12:52:47 +02:00

15 lines
318 B
SQL

-- SCHEMA VERSION 14: 2021-06-10 --
-- Add shard status table --
create table shards (
id int not null primary key,
-- 0 = down, 1 = up
status smallint not null default 0,
ping float,
last_heartbeat timestamptz,
last_connection timestamptz
);
update info set schema_version = 14;