feat!(migrations): rename type to activity_type

type is a keyword in rust
This commit is contained in:
Raphael 2026-02-12 23:16:04 +01:00
parent d7f13af079
commit 4b1d0cfec3
No known key found for this signature in database

View file

@ -1,8 +1,8 @@
CREATE TABLE bots (
id SERIAL PRIMARY KEY,
status TEXT NOT NULL DEFAULT 'TTY by EniumTeam',
type bot_activity NOT NULL DEFAULT 'Watching',
presence bot_presence NOT NULL DEFAULT 'dnd'
id SERIAL PRIMARY KEY,
status TEXT NOT NULL DEFAULT 'TTY by EniumTeam',
activity_type bot_activity NOT NULL DEFAULT 'Watching',
presence bot_presence NOT NULL DEFAULT 'dnd'
);
CREATE TABLE users (