You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
356 B
SQL
11 lines
356 B
SQL
CREATE TABLE IF NOT EXISTS buff_debuff_config (
|
|
id BOOLEAN PRIMARY KEY DEFAULT TRUE,
|
|
payload JSONB NOT NULL DEFAULT '{}'::jsonb,
|
|
updated_at TIMESTAMPTZ NOT NULL DEFAULT now(),
|
|
CONSTRAINT buff_debuff_config_single_row CHECK (id = TRUE)
|
|
);
|
|
|
|
INSERT INTO buff_debuff_config (id, payload)
|
|
VALUES (TRUE, '{}'::jsonb)
|
|
ON CONFLICT (id) DO NOTHING;
|