From 53973e2a59194996bca45e2120c8580767d2d741 Mon Sep 17 00:00:00 2001 From: celian Date: Wed, 14 Sep 2022 19:11:35 +0200 Subject: [PATCH] Reset migrations --- .../20220912190430_adding_other_pronouns/migration.sql | 2 -- .../migration.sql | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 src/migrations/20220912190430_adding_other_pronouns/migration.sql rename src/migrations/{20220911100441_initial => 20220914171119_initial}/migration.sql (97%) diff --git a/src/migrations/20220912190430_adding_other_pronouns/migration.sql b/src/migrations/20220912190430_adding_other_pronouns/migration.sql deleted file mode 100644 index f008c4b..0000000 --- a/src/migrations/20220912190430_adding_other_pronouns/migration.sql +++ /dev/null @@ -1,2 +0,0 @@ --- AlterEnum -ALTER TYPE "Pronouns" ADD VALUE 'OTHER'; diff --git a/src/migrations/20220911100441_initial/migration.sql b/src/migrations/20220914171119_initial/migration.sql similarity index 97% rename from src/migrations/20220911100441_initial/migration.sql rename to src/migrations/20220914171119_initial/migration.sql index 2d0b708..8b32dfb 100644 --- a/src/migrations/20220911100441_initial/migration.sql +++ b/src/migrations/20220914171119_initial/migration.sql @@ -2,7 +2,7 @@ CREATE TYPE "MediaType" AS ENUM ('NONE', 'TEXT', 'PICTURE', 'VIDEO', 'MUSIC'); -- CreateEnum -CREATE TYPE "Pronouns" AS ENUM ('UNKOWN', 'HE_HIM', 'SHE_HER'); +CREATE TYPE "Pronouns" AS ENUM ('UNKNOWN', 'HE_HIM', 'SHE_HER', 'OTHER'); -- CreateTable CREATE TABLE "User" ( @@ -16,7 +16,7 @@ CREATE TABLE "User" ( "username" TEXT NOT NULL, "displayName" TEXT NOT NULL, "avatarUrl" TEXT, - "pronouns" "Pronouns" NOT NULL DEFAULT 'UNKOWN', + "pronouns" "Pronouns" NOT NULL DEFAULT 'UNKNOWN', "about" TEXT, "isDeveloper" BOOLEAN NOT NULL DEFAULT false, "isAdmin" BOOLEAN NOT NULL DEFAULT false,