Files
jarv.is/drizzle/20250514133516_puzzling_sphinx/snapshot.json
T

773 lines
16 KiB
JSON

{
"id": "d126927d-35cf-4b6f-ab97-3872b8db26a7",
"prevIds": [
"00000000-0000-0000-0000-000000000000"
],
"version": "8",
"dialect": "postgres",
"ddl": [
{
"isRlsEnabled": false,
"name": "account",
"schema": "public",
"entityType": "tables"
},
{
"columns": [
"id"
],
"nameExplicit": false,
"name": "account_pkey",
"schema": "public",
"table": "account",
"entityType": "pks"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "id",
"schema": "public",
"table": "account",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "account_id",
"schema": "public",
"table": "account",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "provider_id",
"schema": "public",
"table": "account",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "user_id",
"schema": "public",
"table": "account",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": false,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "access_token",
"schema": "public",
"table": "account",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": false,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "refresh_token",
"schema": "public",
"table": "account",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": false,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "id_token",
"schema": "public",
"table": "account",
"entityType": "columns"
},
{
"type": "timestamp",
"typeSchema": null,
"notNull": false,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "access_token_expires_at",
"schema": "public",
"table": "account",
"entityType": "columns"
},
{
"type": "timestamp",
"typeSchema": null,
"notNull": false,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "refresh_token_expires_at",
"schema": "public",
"table": "account",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": false,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "scope",
"schema": "public",
"table": "account",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": false,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "password",
"schema": "public",
"table": "account",
"entityType": "columns"
},
{
"type": "timestamp",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "created_at",
"schema": "public",
"table": "account",
"entityType": "columns"
},
{
"type": "timestamp",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "updated_at",
"schema": "public",
"table": "account",
"entityType": "columns"
},
{
"nameExplicit": false,
"columns": [
"user_id"
],
"schemaTo": "public",
"tableTo": "user",
"columnsTo": [
"id"
],
"onUpdate": "NO ACTION",
"onDelete": "CASCADE",
"name": "account_user_id_user_id_fk",
"schema": "public",
"table": "account",
"entityType": "fks"
},
{
"isRlsEnabled": false,
"name": "comment",
"schema": "public",
"entityType": "tables"
},
{
"columns": [
"id"
],
"nameExplicit": false,
"name": "comment_pkey",
"schema": "public",
"table": "comment",
"entityType": "pks"
},
{
"type": "uuid",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": "gen_random_uuid()",
"generated": null,
"identity": null,
"name": "id",
"schema": "public",
"table": "comment",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "content",
"schema": "public",
"table": "comment",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "page_slug",
"schema": "public",
"table": "comment",
"entityType": "columns"
},
{
"type": "uuid",
"typeSchema": null,
"notNull": false,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "parent_id",
"schema": "public",
"table": "comment",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "user_id",
"schema": "public",
"table": "comment",
"entityType": "columns"
},
{
"type": "timestamp",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": "now()",
"generated": null,
"identity": null,
"name": "created_at",
"schema": "public",
"table": "comment",
"entityType": "columns"
},
{
"type": "timestamp",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": "now()",
"generated": null,
"identity": null,
"name": "updated_at",
"schema": "public",
"table": "comment",
"entityType": "columns"
},
{
"nameExplicit": false,
"columns": [
"page_slug"
],
"schemaTo": "public",
"tableTo": "page",
"columnsTo": [
"slug"
],
"onUpdate": "NO ACTION",
"onDelete": "NO ACTION",
"name": "comment_page_slug_page_slug_fk",
"schema": "public",
"table": "comment",
"entityType": "fks"
},
{
"nameExplicit": false,
"columns": [
"parent_id"
],
"schemaTo": "public",
"tableTo": "comment",
"columnsTo": [
"id"
],
"onUpdate": "NO ACTION",
"onDelete": "CASCADE",
"name": "comment_parent_id_comment_id_fk",
"schema": "public",
"table": "comment",
"entityType": "fks"
},
{
"nameExplicit": false,
"columns": [
"user_id"
],
"schemaTo": "public",
"tableTo": "user",
"columnsTo": [
"id"
],
"onUpdate": "NO ACTION",
"onDelete": "CASCADE",
"name": "comment_user_id_user_id_fk",
"schema": "public",
"table": "comment",
"entityType": "fks"
},
{
"isRlsEnabled": false,
"name": "page",
"schema": "public",
"entityType": "tables"
},
{
"columns": [
"slug"
],
"nameExplicit": false,
"name": "page_pkey",
"schema": "public",
"table": "page",
"entityType": "pks"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "slug",
"schema": "public",
"table": "page",
"entityType": "columns"
},
{
"type": "integer",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": "1",
"generated": null,
"identity": null,
"name": "views",
"schema": "public",
"table": "page",
"entityType": "columns"
},
{
"isRlsEnabled": false,
"name": "session",
"schema": "public",
"entityType": "tables"
},
{
"columns": [
"id"
],
"nameExplicit": false,
"name": "session_pkey",
"schema": "public",
"table": "session",
"entityType": "pks"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "id",
"schema": "public",
"table": "session",
"entityType": "columns"
},
{
"type": "timestamp",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "expires_at",
"schema": "public",
"table": "session",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "token",
"schema": "public",
"table": "session",
"entityType": "columns"
},
{
"type": "timestamp",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "created_at",
"schema": "public",
"table": "session",
"entityType": "columns"
},
{
"type": "timestamp",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "updated_at",
"schema": "public",
"table": "session",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": false,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "ip_address",
"schema": "public",
"table": "session",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": false,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "user_agent",
"schema": "public",
"table": "session",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "user_id",
"schema": "public",
"table": "session",
"entityType": "columns"
},
{
"nameExplicit": false,
"columns": [
"token"
],
"nullsNotDistinct": false,
"name": "session_token_unique",
"schema": "public",
"table": "session",
"entityType": "uniques"
},
{
"nameExplicit": false,
"columns": [
"user_id"
],
"schemaTo": "public",
"tableTo": "user",
"columnsTo": [
"id"
],
"onUpdate": "NO ACTION",
"onDelete": "CASCADE",
"name": "session_user_id_user_id_fk",
"schema": "public",
"table": "session",
"entityType": "fks"
},
{
"isRlsEnabled": false,
"name": "user",
"schema": "public",
"entityType": "tables"
},
{
"columns": [
"id"
],
"nameExplicit": false,
"name": "user_pkey",
"schema": "public",
"table": "user",
"entityType": "pks"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "id",
"schema": "public",
"table": "user",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "name",
"schema": "public",
"table": "user",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "email",
"schema": "public",
"table": "user",
"entityType": "columns"
},
{
"type": "boolean",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "email_verified",
"schema": "public",
"table": "user",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": false,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "image",
"schema": "public",
"table": "user",
"entityType": "columns"
},
{
"type": "timestamp",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "created_at",
"schema": "public",
"table": "user",
"entityType": "columns"
},
{
"type": "timestamp",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "updated_at",
"schema": "public",
"table": "user",
"entityType": "columns"
},
{
"nameExplicit": false,
"columns": [
"email"
],
"nullsNotDistinct": false,
"name": "user_email_unique",
"schema": "public",
"table": "user",
"entityType": "uniques"
},
{
"isRlsEnabled": false,
"name": "verification",
"schema": "public",
"entityType": "tables"
},
{
"columns": [
"id"
],
"nameExplicit": false,
"name": "verification_pkey",
"schema": "public",
"table": "verification",
"entityType": "pks"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "id",
"schema": "public",
"table": "verification",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "identifier",
"schema": "public",
"table": "verification",
"entityType": "columns"
},
{
"type": "text",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "value",
"schema": "public",
"table": "verification",
"entityType": "columns"
},
{
"type": "timestamp",
"typeSchema": null,
"notNull": true,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "expires_at",
"schema": "public",
"table": "verification",
"entityType": "columns"
},
{
"type": "timestamp",
"typeSchema": null,
"notNull": false,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "created_at",
"schema": "public",
"table": "verification",
"entityType": "columns"
},
{
"type": "timestamp",
"typeSchema": null,
"notNull": false,
"dimensions": 0,
"default": null,
"generated": null,
"identity": null,
"name": "updated_at",
"schema": "public",
"table": "verification",
"entityType": "columns"
}
],
"renames": []
}