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,7 +1,7 @@
|
|||
CREATE TABLE bots (
|
||||
id SERIAL PRIMARY KEY,
|
||||
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'
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue