muse/migrations/20220128000207_add_favorite_query_model/migration.sql
Max Isom 56a469a999
Migrate to slash commands (#431)
Co-authored-by: Federico fuji97 Rapetti <fuji1097@gmail.com>
2022-02-05 16:16:17 -06:00

11 lines
309 B
SQL

-- CreateTable
CREATE TABLE "FavoriteQuery" (
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
"guildId" TEXT NOT NULL,
"authorId" TEXT NOT NULL,
"name" TEXT NOT NULL,
"query" TEXT NOT NULL,
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" DATETIME NOT NULL
);