add command migrations

This commit is contained in:
lyx0 2022-08-11 01:17:33 +02:00
parent 67fb901065
commit a6c164f8e0
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1 @@
DROP TABLE IF EXISTS commands;

View file

@ -0,0 +1,6 @@
CREATE TABLE IF NOT EXISTS commands (
id bigserial PRIMARY KEY,
name text UNIQUE NOT NULL,
text text NOT NULL,
permission integer NOT NULL
);