diff --git a/.gitignore b/.gitignore index 79518f7..4262dd2 100755 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,5 @@ Thumbs.db # Vite vite.config.js.timestamp-* vite.config.ts.timestamp-* + +.vscode/ diff --git a/drizzle/20260830223753_illegal_lord_tyger/migration.sql b/drizzle/20260830223753_illegal_lord_tyger/migration.sql deleted file mode 100644 index 769e8d6..0000000 --- a/drizzle/20260830223753_illegal_lord_tyger/migration.sql +++ /dev/null @@ -1,198 +0,0 @@ -CREATE TYPE "availability" AS ENUM('catchable', 'trade_only', 'transfer_only', 'event_only');--> statement-breakpoint -CREATE TABLE "animals" ( - "id" uuid PRIMARY KEY DEFAULT gen_random_uuid(), - "species" text NOT NULL, - "breed" text, - "animal_name" text, - "description" text, - "ai_breed_suggestion" text, - "ai_breed_confidence" real, - "submitted_at" timestamp with time zone DEFAULT now() NOT NULL, - "accepted_at" timestamp with time zone, - "denied_at" timestamp with time zone -); ---> statement-breakpoint -CREATE TABLE "blog_articles" ( - "id" serial PRIMARY KEY, - "title" varchar(256), - "slug" varchar(256), - "content" varchar(8192), - "created_at" timestamp DEFAULT now(), - "updated_at" timestamp DEFAULT now() -); ---> statement-breakpoint -CREATE TABLE "certificates" ( - "id" serial PRIMARY KEY, - "name" varchar(256), - "progress" integer DEFAULT 0, - "created_at" timestamp DEFAULT now(), - "updated_at" timestamp DEFAULT now() -); ---> statement-breakpoint -CREATE TABLE "game" ( - "id" serial PRIMARY KEY, - "name" varchar(256) NOT NULL, - "generation" integer DEFAULT 1 NOT NULL -); ---> statement-breakpoint -CREATE TABLE "photos" ( - "id" uuid PRIMARY KEY DEFAULT gen_random_uuid(), - "sighting_id" uuid NOT NULL, - "r2_key" text NOT NULL, - "url" text NOT NULL, - "sort_order" integer DEFAULT 0 NOT NULL, - "uploaded_at" timestamp with time zone DEFAULT now() NOT NULL -); ---> statement-breakpoint -CREATE TABLE "pokemon" ( - "id" serial PRIMARY KEY, - "number" integer NOT NULL, - "generation" integer DEFAULT 1 NOT NULL, - "name" varchar(256) NOT NULL, - "type1" varchar(256) NOT NULL, - "type2" varchar(256), - "hp" integer DEFAULT 0 NOT NULL, - "attack" integer DEFAULT 0 NOT NULL, - "defense" integer DEFAULT 0 NOT NULL, - "special_attack" integer DEFAULT 0 NOT NULL, - "special_defense" integer DEFAULT 0 NOT NULL, - "speed" integer DEFAULT 0 NOT NULL -); ---> statement-breakpoint -CREATE TABLE "pokemon_game_entry" ( - "id" serial PRIMARY KEY, - "pokemon_id" integer NOT NULL, - "game_id" integer NOT NULL, - "availability" "availability" DEFAULT 'catchable'::"availability" NOT NULL, - "note" varchar(256), - CONSTRAINT "pokemon_game_entry_pokemon_id_game_id_unique" UNIQUE("pokemon_id","game_id") -); ---> statement-breakpoint -CREATE TABLE "publications" ( - "id" serial PRIMARY KEY, - "name" varchar(256), - "created_at" timestamp DEFAULT now(), - "updated_at" timestamp DEFAULT now() -); ---> statement-breakpoint -CREATE TABLE "sightings" ( - "id" uuid PRIMARY KEY DEFAULT gen_random_uuid(), - "animal_id" uuid NOT NULL, - "reporter_name" text, - "seen_at" timestamp with time zone NOT NULL, - "lat" double precision NOT NULL, - "lng" double precision NOT NULL, - "submitted_at" timestamp with time zone DEFAULT now() NOT NULL, - "accepted_at" timestamp with time zone, - "denied_at" timestamp with time zone -); ---> statement-breakpoint -CREATE TABLE "tasks" ( - "id" serial PRIMARY KEY, - "name" varchar(256), - "current_points" integer DEFAULT 0, - "total_points" integer DEFAULT 1, - "notes" varchar(8192), - "created_at" timestamp DEFAULT now(), - "updated_at" timestamp DEFAULT now() -); ---> statement-breakpoint -CREATE TABLE "tasks_to_topics" ( - "task_id" integer NOT NULL, - "topic_id" integer NOT NULL -); ---> statement-breakpoint -CREATE TABLE "topics" ( - "id" serial PRIMARY KEY, - "name" varchar(256), - "emoji" varchar(256), - "created_at" timestamp DEFAULT now(), - "updated_at" timestamp DEFAULT now() -); ---> statement-breakpoint -CREATE TABLE "universities" ( - "id" serial PRIMARY KEY, - "name" varchar(256), - "progress" integer DEFAULT 0, - "created_at" timestamp DEFAULT now(), - "updated_at" timestamp DEFAULT now() -); ---> statement-breakpoint -CREATE TABLE "user_entry" ( - "id" serial PRIMARY KEY, - "pokemon_game_entry_id" integer NOT NULL, - "user_id" text NOT NULL, - CONSTRAINT "user_entry_pokemon_game_entry_id_user_id_unique" UNIQUE("pokemon_game_entry_id","user_id") -); ---> statement-breakpoint -CREATE TABLE "user_game" ( - "id" serial PRIMARY KEY, - "user_id" text NOT NULL, - "game_id" integer NOT NULL, - CONSTRAINT "user_game_user_id_game_id_unique" UNIQUE("user_id","game_id") -); ---> statement-breakpoint -CREATE TABLE "account" ( - "id" text PRIMARY KEY, - "account_id" text NOT NULL, - "provider_id" text NOT NULL, - "user_id" text NOT NULL, - "access_token" text, - "refresh_token" text, - "id_token" text, - "access_token_expires_at" timestamp, - "refresh_token_expires_at" timestamp, - "scope" text, - "password" text, - "created_at" timestamp DEFAULT now() NOT NULL, - "updated_at" timestamp NOT NULL -); ---> statement-breakpoint -CREATE TABLE "session" ( - "id" text PRIMARY KEY, - "expires_at" timestamp NOT NULL, - "token" text NOT NULL UNIQUE, - "created_at" timestamp DEFAULT now() NOT NULL, - "updated_at" timestamp NOT NULL, - "ip_address" text, - "user_agent" text, - "user_id" text NOT NULL -); ---> statement-breakpoint -CREATE TABLE "user" ( - "id" text PRIMARY KEY, - "name" text NOT NULL, - "email" text NOT NULL UNIQUE, - "email_verified" boolean DEFAULT false NOT NULL, - "image" text, - "created_at" timestamp DEFAULT now() NOT NULL, - "updated_at" timestamp DEFAULT now() NOT NULL -); ---> statement-breakpoint -CREATE TABLE "verification" ( - "id" text PRIMARY KEY, - "identifier" text NOT NULL, - "value" text NOT NULL, - "expires_at" timestamp NOT NULL, - "created_at" timestamp DEFAULT now() NOT NULL, - "updated_at" timestamp DEFAULT now() NOT NULL -); ---> statement-breakpoint -CREATE INDEX "pokemon_game_entry_game_id_index" ON "pokemon_game_entry" ("game_id");--> statement-breakpoint -CREATE INDEX "user_entry_user_id_index" ON "user_entry" ("user_id");--> statement-breakpoint -CREATE INDEX "user_game_user_id_index" ON "user_game" ("user_id");--> statement-breakpoint -CREATE INDEX "account_userId_idx" ON "account" ("user_id");--> statement-breakpoint -CREATE INDEX "session_userId_idx" ON "session" ("user_id");--> statement-breakpoint -CREATE INDEX "verification_identifier_idx" ON "verification" ("identifier");--> statement-breakpoint -ALTER TABLE "photos" ADD CONSTRAINT "photos_sighting_id_sightings_id_fkey" FOREIGN KEY ("sighting_id") REFERENCES "sightings"("id") ON DELETE CASCADE;--> statement-breakpoint -ALTER TABLE "pokemon_game_entry" ADD CONSTRAINT "pokemon_game_entry_pokemon_id_pokemon_id_fkey" FOREIGN KEY ("pokemon_id") REFERENCES "pokemon"("id") ON DELETE CASCADE;--> statement-breakpoint -ALTER TABLE "pokemon_game_entry" ADD CONSTRAINT "pokemon_game_entry_game_id_game_id_fkey" FOREIGN KEY ("game_id") REFERENCES "game"("id") ON DELETE CASCADE;--> statement-breakpoint -ALTER TABLE "sightings" ADD CONSTRAINT "sightings_animal_id_animals_id_fkey" FOREIGN KEY ("animal_id") REFERENCES "animals"("id") ON DELETE CASCADE;--> statement-breakpoint -ALTER TABLE "tasks_to_topics" ADD CONSTRAINT "tasks_to_topics_task_id_tasks_id_fkey" FOREIGN KEY ("task_id") REFERENCES "tasks"("id");--> statement-breakpoint -ALTER TABLE "tasks_to_topics" ADD CONSTRAINT "tasks_to_topics_topic_id_topics_id_fkey" FOREIGN KEY ("topic_id") REFERENCES "topics"("id");--> statement-breakpoint -ALTER TABLE "user_entry" ADD CONSTRAINT "user_entry_pokemon_game_entry_id_pokemon_game_entry_id_fkey" FOREIGN KEY ("pokemon_game_entry_id") REFERENCES "pokemon_game_entry"("id") ON DELETE CASCADE;--> statement-breakpoint -ALTER TABLE "user_entry" ADD CONSTRAINT "user_entry_user_id_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "user"("id") ON DELETE CASCADE;--> statement-breakpoint -ALTER TABLE "user_game" ADD CONSTRAINT "user_game_user_id_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "user"("id") ON DELETE CASCADE;--> statement-breakpoint -ALTER TABLE "user_game" ADD CONSTRAINT "user_game_game_id_game_id_fkey" FOREIGN KEY ("game_id") REFERENCES "game"("id") ON DELETE CASCADE;--> statement-breakpoint -ALTER TABLE "account" ADD CONSTRAINT "account_user_id_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "user"("id") ON DELETE CASCADE;--> statement-breakpoint -ALTER TABLE "session" ADD CONSTRAINT "session_user_id_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "user"("id") ON DELETE CASCADE; \ No newline at end of file diff --git a/drizzle/20260830223753_illegal_lord_tyger/snapshot.json b/drizzle/20260830223753_illegal_lord_tyger/snapshot.json deleted file mode 100644 index 9b0e792..0000000 --- a/drizzle/20260830223753_illegal_lord_tyger/snapshot.json +++ /dev/null @@ -1,2251 +0,0 @@ -{ - "version": "8", - "dialect": "postgres", - "id": "288e35c9-ef00-4e98-8a34-55caa83c4842", - "prevIds": [ - "00000000-0000-0000-0000-000000000000" - ], - "ddl": [ - { - "values": [ - "catchable", - "trade_only", - "transfer_only", - "event_only" - ], - "name": "availability", - "entityType": "enums", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "animals", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "blog_articles", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "certificates", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "game", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "photos", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "pokemon", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "pokemon_game_entry", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "publications", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "sightings", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "tasks", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "tasks_to_topics", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "topics", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "universities", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "user_entry", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "user_game", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "account", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "session", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "user", - "entityType": "tables", - "schema": "public" - }, - { - "isRlsEnabled": false, - "name": "verification", - "entityType": "tables", - "schema": "public" - }, - { - "type": "uuid", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "gen_random_uuid()", - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "animals" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "species", - "entityType": "columns", - "schema": "public", - "table": "animals" - }, - { - "type": "text", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "breed", - "entityType": "columns", - "schema": "public", - "table": "animals" - }, - { - "type": "text", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "animal_name", - "entityType": "columns", - "schema": "public", - "table": "animals" - }, - { - "type": "text", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "description", - "entityType": "columns", - "schema": "public", - "table": "animals" - }, - { - "type": "text", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "ai_breed_suggestion", - "entityType": "columns", - "schema": "public", - "table": "animals" - }, - { - "type": "real", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "ai_breed_confidence", - "entityType": "columns", - "schema": "public", - "table": "animals" - }, - { - "type": "timestamp with time zone", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "submitted_at", - "entityType": "columns", - "schema": "public", - "table": "animals" - }, - { - "type": "timestamp with time zone", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "accepted_at", - "entityType": "columns", - "schema": "public", - "table": "animals" - }, - { - "type": "timestamp with time zone", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "denied_at", - "entityType": "columns", - "schema": "public", - "table": "animals" - }, - { - "type": "serial", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "blog_articles" - }, - { - "type": "varchar(256)", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "title", - "entityType": "columns", - "schema": "public", - "table": "blog_articles" - }, - { - "type": "varchar(256)", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "slug", - "entityType": "columns", - "schema": "public", - "table": "blog_articles" - }, - { - "type": "varchar(8192)", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "content", - "entityType": "columns", - "schema": "public", - "table": "blog_articles" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "created_at", - "entityType": "columns", - "schema": "public", - "table": "blog_articles" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "updated_at", - "entityType": "columns", - "schema": "public", - "table": "blog_articles" - }, - { - "type": "serial", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "certificates" - }, - { - "type": "varchar(256)", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "name", - "entityType": "columns", - "schema": "public", - "table": "certificates" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "0", - "generated": null, - "identity": null, - "name": "progress", - "entityType": "columns", - "schema": "public", - "table": "certificates" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "created_at", - "entityType": "columns", - "schema": "public", - "table": "certificates" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "updated_at", - "entityType": "columns", - "schema": "public", - "table": "certificates" - }, - { - "type": "serial", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "game" - }, - { - "type": "varchar(256)", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "name", - "entityType": "columns", - "schema": "public", - "table": "game" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "1", - "generated": null, - "identity": null, - "name": "generation", - "entityType": "columns", - "schema": "public", - "table": "game" - }, - { - "type": "uuid", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "gen_random_uuid()", - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "photos" - }, - { - "type": "uuid", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "sighting_id", - "entityType": "columns", - "schema": "public", - "table": "photos" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "r2_key", - "entityType": "columns", - "schema": "public", - "table": "photos" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "url", - "entityType": "columns", - "schema": "public", - "table": "photos" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "0", - "generated": null, - "identity": null, - "name": "sort_order", - "entityType": "columns", - "schema": "public", - "table": "photos" - }, - { - "type": "timestamp with time zone", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "uploaded_at", - "entityType": "columns", - "schema": "public", - "table": "photos" - }, - { - "type": "serial", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "pokemon" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "number", - "entityType": "columns", - "schema": "public", - "table": "pokemon" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "1", - "generated": null, - "identity": null, - "name": "generation", - "entityType": "columns", - "schema": "public", - "table": "pokemon" - }, - { - "type": "varchar(256)", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "name", - "entityType": "columns", - "schema": "public", - "table": "pokemon" - }, - { - "type": "varchar(256)", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "type1", - "entityType": "columns", - "schema": "public", - "table": "pokemon" - }, - { - "type": "varchar(256)", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "type2", - "entityType": "columns", - "schema": "public", - "table": "pokemon" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "0", - "generated": null, - "identity": null, - "name": "hp", - "entityType": "columns", - "schema": "public", - "table": "pokemon" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "0", - "generated": null, - "identity": null, - "name": "attack", - "entityType": "columns", - "schema": "public", - "table": "pokemon" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "0", - "generated": null, - "identity": null, - "name": "defense", - "entityType": "columns", - "schema": "public", - "table": "pokemon" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "0", - "generated": null, - "identity": null, - "name": "special_attack", - "entityType": "columns", - "schema": "public", - "table": "pokemon" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "0", - "generated": null, - "identity": null, - "name": "special_defense", - "entityType": "columns", - "schema": "public", - "table": "pokemon" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "0", - "generated": null, - "identity": null, - "name": "speed", - "entityType": "columns", - "schema": "public", - "table": "pokemon" - }, - { - "type": "serial", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "pokemon_game_entry" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "pokemon_id", - "entityType": "columns", - "schema": "public", - "table": "pokemon_game_entry" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "game_id", - "entityType": "columns", - "schema": "public", - "table": "pokemon_game_entry" - }, - { - "type": "availability", - "typeSchema": "public", - "notNull": true, - "dimensions": 0, - "default": "'catchable'", - "generated": null, - "identity": null, - "name": "availability", - "entityType": "columns", - "schema": "public", - "table": "pokemon_game_entry" - }, - { - "type": "varchar(256)", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "note", - "entityType": "columns", - "schema": "public", - "table": "pokemon_game_entry" - }, - { - "type": "serial", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "publications" - }, - { - "type": "varchar(256)", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "name", - "entityType": "columns", - "schema": "public", - "table": "publications" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "created_at", - "entityType": "columns", - "schema": "public", - "table": "publications" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "updated_at", - "entityType": "columns", - "schema": "public", - "table": "publications" - }, - { - "type": "uuid", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "gen_random_uuid()", - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "sightings" - }, - { - "type": "uuid", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "animal_id", - "entityType": "columns", - "schema": "public", - "table": "sightings" - }, - { - "type": "text", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "reporter_name", - "entityType": "columns", - "schema": "public", - "table": "sightings" - }, - { - "type": "timestamp with time zone", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "seen_at", - "entityType": "columns", - "schema": "public", - "table": "sightings" - }, - { - "type": "double precision", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "lat", - "entityType": "columns", - "schema": "public", - "table": "sightings" - }, - { - "type": "double precision", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "lng", - "entityType": "columns", - "schema": "public", - "table": "sightings" - }, - { - "type": "timestamp with time zone", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "submitted_at", - "entityType": "columns", - "schema": "public", - "table": "sightings" - }, - { - "type": "timestamp with time zone", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "accepted_at", - "entityType": "columns", - "schema": "public", - "table": "sightings" - }, - { - "type": "timestamp with time zone", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "denied_at", - "entityType": "columns", - "schema": "public", - "table": "sightings" - }, - { - "type": "serial", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "tasks" - }, - { - "type": "varchar(256)", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "name", - "entityType": "columns", - "schema": "public", - "table": "tasks" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "0", - "generated": null, - "identity": null, - "name": "current_points", - "entityType": "columns", - "schema": "public", - "table": "tasks" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "1", - "generated": null, - "identity": null, - "name": "total_points", - "entityType": "columns", - "schema": "public", - "table": "tasks" - }, - { - "type": "varchar(8192)", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "notes", - "entityType": "columns", - "schema": "public", - "table": "tasks" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "created_at", - "entityType": "columns", - "schema": "public", - "table": "tasks" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "updated_at", - "entityType": "columns", - "schema": "public", - "table": "tasks" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "task_id", - "entityType": "columns", - "schema": "public", - "table": "tasks_to_topics" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "topic_id", - "entityType": "columns", - "schema": "public", - "table": "tasks_to_topics" - }, - { - "type": "serial", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "topics" - }, - { - "type": "varchar(256)", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "name", - "entityType": "columns", - "schema": "public", - "table": "topics" - }, - { - "type": "varchar(256)", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "emoji", - "entityType": "columns", - "schema": "public", - "table": "topics" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "created_at", - "entityType": "columns", - "schema": "public", - "table": "topics" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "updated_at", - "entityType": "columns", - "schema": "public", - "table": "topics" - }, - { - "type": "serial", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "universities" - }, - { - "type": "varchar(256)", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "name", - "entityType": "columns", - "schema": "public", - "table": "universities" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "0", - "generated": null, - "identity": null, - "name": "progress", - "entityType": "columns", - "schema": "public", - "table": "universities" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "created_at", - "entityType": "columns", - "schema": "public", - "table": "universities" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "updated_at", - "entityType": "columns", - "schema": "public", - "table": "universities" - }, - { - "type": "serial", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "user_entry" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "pokemon_game_entry_id", - "entityType": "columns", - "schema": "public", - "table": "user_entry" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "user_id", - "entityType": "columns", - "schema": "public", - "table": "user_entry" - }, - { - "type": "serial", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "user_game" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "user_id", - "entityType": "columns", - "schema": "public", - "table": "user_game" - }, - { - "type": "integer", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "game_id", - "entityType": "columns", - "schema": "public", - "table": "user_game" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "account" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "account_id", - "entityType": "columns", - "schema": "public", - "table": "account" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "provider_id", - "entityType": "columns", - "schema": "public", - "table": "account" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "user_id", - "entityType": "columns", - "schema": "public", - "table": "account" - }, - { - "type": "text", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "access_token", - "entityType": "columns", - "schema": "public", - "table": "account" - }, - { - "type": "text", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "refresh_token", - "entityType": "columns", - "schema": "public", - "table": "account" - }, - { - "type": "text", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id_token", - "entityType": "columns", - "schema": "public", - "table": "account" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "access_token_expires_at", - "entityType": "columns", - "schema": "public", - "table": "account" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "refresh_token_expires_at", - "entityType": "columns", - "schema": "public", - "table": "account" - }, - { - "type": "text", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "scope", - "entityType": "columns", - "schema": "public", - "table": "account" - }, - { - "type": "text", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "password", - "entityType": "columns", - "schema": "public", - "table": "account" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "created_at", - "entityType": "columns", - "schema": "public", - "table": "account" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "updated_at", - "entityType": "columns", - "schema": "public", - "table": "account" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "session" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "expires_at", - "entityType": "columns", - "schema": "public", - "table": "session" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "token", - "entityType": "columns", - "schema": "public", - "table": "session" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "created_at", - "entityType": "columns", - "schema": "public", - "table": "session" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "updated_at", - "entityType": "columns", - "schema": "public", - "table": "session" - }, - { - "type": "text", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "ip_address", - "entityType": "columns", - "schema": "public", - "table": "session" - }, - { - "type": "text", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "user_agent", - "entityType": "columns", - "schema": "public", - "table": "session" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "user_id", - "entityType": "columns", - "schema": "public", - "table": "session" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "user" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "name", - "entityType": "columns", - "schema": "public", - "table": "user" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "email", - "entityType": "columns", - "schema": "public", - "table": "user" - }, - { - "type": "boolean", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "false", - "generated": null, - "identity": null, - "name": "email_verified", - "entityType": "columns", - "schema": "public", - "table": "user" - }, - { - "type": "text", - "typeSchema": null, - "notNull": false, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "image", - "entityType": "columns", - "schema": "public", - "table": "user" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "created_at", - "entityType": "columns", - "schema": "public", - "table": "user" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "updated_at", - "entityType": "columns", - "schema": "public", - "table": "user" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "id", - "entityType": "columns", - "schema": "public", - "table": "verification" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "identifier", - "entityType": "columns", - "schema": "public", - "table": "verification" - }, - { - "type": "text", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "value", - "entityType": "columns", - "schema": "public", - "table": "verification" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": null, - "generated": null, - "identity": null, - "name": "expires_at", - "entityType": "columns", - "schema": "public", - "table": "verification" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "created_at", - "entityType": "columns", - "schema": "public", - "table": "verification" - }, - { - "type": "timestamp", - "typeSchema": null, - "notNull": true, - "dimensions": 0, - "default": "now()", - "generated": null, - "identity": null, - "name": "updated_at", - "entityType": "columns", - "schema": "public", - "table": "verification" - }, - { - "nameExplicit": false, - "columns": [ - { - "value": "game_id", - "isExpression": false, - "asc": true, - "nullsFirst": false, - "opclass": null - } - ], - "isUnique": false, - "where": null, - "with": "", - "method": "btree", - "concurrently": false, - "name": "pokemon_game_entry_game_id_index", - "entityType": "indexes", - "schema": "public", - "table": "pokemon_game_entry" - }, - { - "nameExplicit": false, - "columns": [ - { - "value": "user_id", - "isExpression": false, - "asc": true, - "nullsFirst": false, - "opclass": null - } - ], - "isUnique": false, - "where": null, - "with": "", - "method": "btree", - "concurrently": false, - "name": "user_entry_user_id_index", - "entityType": "indexes", - "schema": "public", - "table": "user_entry" - }, - { - "nameExplicit": false, - "columns": [ - { - "value": "user_id", - "isExpression": false, - "asc": true, - "nullsFirst": false, - "opclass": null - } - ], - "isUnique": false, - "where": null, - "with": "", - "method": "btree", - "concurrently": false, - "name": "user_game_user_id_index", - "entityType": "indexes", - "schema": "public", - "table": "user_game" - }, - { - "nameExplicit": true, - "columns": [ - { - "value": "user_id", - "isExpression": false, - "asc": true, - "nullsFirst": false, - "opclass": null - } - ], - "isUnique": false, - "where": null, - "with": "", - "method": "btree", - "concurrently": false, - "name": "account_userId_idx", - "entityType": "indexes", - "schema": "public", - "table": "account" - }, - { - "nameExplicit": true, - "columns": [ - { - "value": "user_id", - "isExpression": false, - "asc": true, - "nullsFirst": false, - "opclass": null - } - ], - "isUnique": false, - "where": null, - "with": "", - "method": "btree", - "concurrently": false, - "name": "session_userId_idx", - "entityType": "indexes", - "schema": "public", - "table": "session" - }, - { - "nameExplicit": true, - "columns": [ - { - "value": "identifier", - "isExpression": false, - "asc": true, - "nullsFirst": false, - "opclass": null - } - ], - "isUnique": false, - "where": null, - "with": "", - "method": "btree", - "concurrently": false, - "name": "verification_identifier_idx", - "entityType": "indexes", - "schema": "public", - "table": "verification" - }, - { - "nameExplicit": false, - "columns": [ - "sighting_id" - ], - "schemaTo": "public", - "tableTo": "sightings", - "columnsTo": [ - "id" - ], - "onUpdate": "NO ACTION", - "onDelete": "CASCADE", - "name": "photos_sighting_id_sightings_id_fkey", - "entityType": "fks", - "schema": "public", - "table": "photos" - }, - { - "nameExplicit": false, - "columns": [ - "pokemon_id" - ], - "schemaTo": "public", - "tableTo": "pokemon", - "columnsTo": [ - "id" - ], - "onUpdate": "NO ACTION", - "onDelete": "CASCADE", - "name": "pokemon_game_entry_pokemon_id_pokemon_id_fkey", - "entityType": "fks", - "schema": "public", - "table": "pokemon_game_entry" - }, - { - "nameExplicit": false, - "columns": [ - "game_id" - ], - "schemaTo": "public", - "tableTo": "game", - "columnsTo": [ - "id" - ], - "onUpdate": "NO ACTION", - "onDelete": "CASCADE", - "name": "pokemon_game_entry_game_id_game_id_fkey", - "entityType": "fks", - "schema": "public", - "table": "pokemon_game_entry" - }, - { - "nameExplicit": false, - "columns": [ - "animal_id" - ], - "schemaTo": "public", - "tableTo": "animals", - "columnsTo": [ - "id" - ], - "onUpdate": "NO ACTION", - "onDelete": "CASCADE", - "name": "sightings_animal_id_animals_id_fkey", - "entityType": "fks", - "schema": "public", - "table": "sightings" - }, - { - "nameExplicit": false, - "columns": [ - "task_id" - ], - "schemaTo": "public", - "tableTo": "tasks", - "columnsTo": [ - "id" - ], - "onUpdate": "NO ACTION", - "onDelete": "NO ACTION", - "name": "tasks_to_topics_task_id_tasks_id_fkey", - "entityType": "fks", - "schema": "public", - "table": "tasks_to_topics" - }, - { - "nameExplicit": false, - "columns": [ - "topic_id" - ], - "schemaTo": "public", - "tableTo": "topics", - "columnsTo": [ - "id" - ], - "onUpdate": "NO ACTION", - "onDelete": "NO ACTION", - "name": "tasks_to_topics_topic_id_topics_id_fkey", - "entityType": "fks", - "schema": "public", - "table": "tasks_to_topics" - }, - { - "nameExplicit": false, - "columns": [ - "pokemon_game_entry_id" - ], - "schemaTo": "public", - "tableTo": "pokemon_game_entry", - "columnsTo": [ - "id" - ], - "onUpdate": "NO ACTION", - "onDelete": "CASCADE", - "name": "user_entry_pokemon_game_entry_id_pokemon_game_entry_id_fkey", - "entityType": "fks", - "schema": "public", - "table": "user_entry" - }, - { - "nameExplicit": false, - "columns": [ - "user_id" - ], - "schemaTo": "public", - "tableTo": "user", - "columnsTo": [ - "id" - ], - "onUpdate": "NO ACTION", - "onDelete": "CASCADE", - "name": "user_entry_user_id_user_id_fkey", - "entityType": "fks", - "schema": "public", - "table": "user_entry" - }, - { - "nameExplicit": false, - "columns": [ - "user_id" - ], - "schemaTo": "public", - "tableTo": "user", - "columnsTo": [ - "id" - ], - "onUpdate": "NO ACTION", - "onDelete": "CASCADE", - "name": "user_game_user_id_user_id_fkey", - "entityType": "fks", - "schema": "public", - "table": "user_game" - }, - { - "nameExplicit": false, - "columns": [ - "game_id" - ], - "schemaTo": "public", - "tableTo": "game", - "columnsTo": [ - "id" - ], - "onUpdate": "NO ACTION", - "onDelete": "CASCADE", - "name": "user_game_game_id_game_id_fkey", - "entityType": "fks", - "schema": "public", - "table": "user_game" - }, - { - "nameExplicit": false, - "columns": [ - "user_id" - ], - "schemaTo": "public", - "tableTo": "user", - "columnsTo": [ - "id" - ], - "onUpdate": "NO ACTION", - "onDelete": "CASCADE", - "name": "account_user_id_user_id_fkey", - "entityType": "fks", - "schema": "public", - "table": "account" - }, - { - "nameExplicit": false, - "columns": [ - "user_id" - ], - "schemaTo": "public", - "tableTo": "user", - "columnsTo": [ - "id" - ], - "onUpdate": "NO ACTION", - "onDelete": "CASCADE", - "name": "session_user_id_user_id_fkey", - "entityType": "fks", - "schema": "public", - "table": "session" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "animals_pkey", - "schema": "public", - "table": "animals", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "blog_articles_pkey", - "schema": "public", - "table": "blog_articles", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "certificates_pkey", - "schema": "public", - "table": "certificates", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "game_pkey", - "schema": "public", - "table": "game", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "photos_pkey", - "schema": "public", - "table": "photos", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "pokemon_pkey", - "schema": "public", - "table": "pokemon", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "pokemon_game_entry_pkey", - "schema": "public", - "table": "pokemon_game_entry", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "publications_pkey", - "schema": "public", - "table": "publications", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "sightings_pkey", - "schema": "public", - "table": "sightings", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "tasks_pkey", - "schema": "public", - "table": "tasks", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "topics_pkey", - "schema": "public", - "table": "topics", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "universities_pkey", - "schema": "public", - "table": "universities", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "user_entry_pkey", - "schema": "public", - "table": "user_entry", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "user_game_pkey", - "schema": "public", - "table": "user_game", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "account_pkey", - "schema": "public", - "table": "account", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "session_pkey", - "schema": "public", - "table": "session", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "user_pkey", - "schema": "public", - "table": "user", - "entityType": "pks" - }, - { - "columns": [ - "id" - ], - "nameExplicit": false, - "name": "verification_pkey", - "schema": "public", - "table": "verification", - "entityType": "pks" - }, - { - "nameExplicit": false, - "columns": [ - "pokemon_id", - "game_id" - ], - "nullsNotDistinct": false, - "name": "pokemon_game_entry_pokemon_id_game_id_unique", - "entityType": "uniques", - "schema": "public", - "table": "pokemon_game_entry" - }, - { - "nameExplicit": false, - "columns": [ - "pokemon_game_entry_id", - "user_id" - ], - "nullsNotDistinct": false, - "name": "user_entry_pokemon_game_entry_id_user_id_unique", - "entityType": "uniques", - "schema": "public", - "table": "user_entry" - }, - { - "nameExplicit": false, - "columns": [ - "user_id", - "game_id" - ], - "nullsNotDistinct": false, - "name": "user_game_user_id_game_id_unique", - "entityType": "uniques", - "schema": "public", - "table": "user_game" - }, - { - "nameExplicit": false, - "columns": [ - "token" - ], - "nullsNotDistinct": false, - "name": "session_token_key", - "schema": "public", - "table": "session", - "entityType": "uniques" - }, - { - "nameExplicit": false, - "columns": [ - "email" - ], - "nullsNotDistinct": false, - "name": "user_email_key", - "schema": "public", - "table": "user", - "entityType": "uniques" - } - ], - "renames": [] -} \ No newline at end of file