2251 lines
49 KiB
JSON
2251 lines
49 KiB
JSON
{
|
|
"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": []
|
|
} |