feat!(migrations): rename type to activity_type
type is a keyword in rust
This commit is contained in:
parent
d7f13af079
commit
4b1d0cfec3
1 changed files with 4 additions and 4 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
CREATE TABLE bots (
|
CREATE TABLE bots (
|
||||||
id SERIAL PRIMARY KEY,
|
id SERIAL PRIMARY KEY,
|
||||||
status TEXT NOT NULL DEFAULT 'TTY by EniumTeam',
|
status TEXT NOT NULL DEFAULT 'TTY by EniumTeam',
|
||||||
type bot_activity NOT NULL DEFAULT 'Watching',
|
activity_type bot_activity NOT NULL DEFAULT 'Watching',
|
||||||
presence bot_presence NOT NULL DEFAULT 'dnd'
|
presence bot_presence NOT NULL DEFAULT 'dnd'
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE users (
|
CREATE TABLE users (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue