From 4b1d0cfec3ed536d7bdb2275dcbad7057cd81a59 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 12 Feb 2026 23:16:04 +0100 Subject: [PATCH] feat!(migrations): rename type to activity_type type is a keyword in rust --- migrations/002_create_tables.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/migrations/002_create_tables.sql b/migrations/002_create_tables.sql index d213b2d..5fa656e 100644 --- a/migrations/002_create_tables.sql +++ b/migrations/002_create_tables.sql @@ -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 (