{ "version": "7", "dialect": "sqlite", "id": "0771a4dc-9b9f-4342-b6cc-7368e6e6ac93", "prevIds": [ "00000000-0000-0000-0000-000000000000" ], "ddl": [ { "name": "actors", "entityType": "tables" }, { "name": "sessions", "entityType": "tables" }, { "type": "integer", "notNull": false, "autoincrement": true, "default": null, "generated": null, "name": "id", "entityType": "columns", "table": "actors" }, { "type": "text", "notNull": false, "autoincrement": false, "default": null, "generated": null, "name": "discord_id", "entityType": "columns", "table": "actors" }, { "type": "text", "notNull": false, "autoincrement": false, "default": null, "generated": null, "name": "display_name", "entityType": "columns", "table": "actors" }, { "type": "text", "notNull": false, "autoincrement": false, "default": null, "generated": null, "name": "username", "entityType": "columns", "table": "actors" }, { "type": "text", "notNull": false, "autoincrement": false, "default": null, "generated": null, "name": "avatar", "entityType": "columns", "table": "actors" }, { "type": "integer", "notNull": true, "autoincrement": false, "default": null, "generated": null, "name": "created_at", "entityType": "columns", "table": "actors" }, { "type": "integer", "notNull": true, "autoincrement": false, "default": null, "generated": null, "name": "updated_at", "entityType": "columns", "table": "actors" }, { "type": "integer", "notNull": false, "autoincrement": false, "default": null, "generated": null, "name": "deleted_at", "entityType": "columns", "table": "actors" }, { "type": "text", "notNull": false, "autoincrement": false, "default": null, "generated": null, "name": "id", "entityType": "columns", "table": "sessions" }, { "type": "integer", "notNull": true, "autoincrement": false, "default": null, "generated": null, "name": "user_id", "entityType": "columns", "table": "sessions" }, { "type": "text", "notNull": true, "autoincrement": false, "default": null, "generated": null, "name": "access_token", "entityType": "columns", "table": "sessions" }, { "type": "text", "notNull": true, "autoincrement": false, "default": null, "generated": null, "name": "refresh_token", "entityType": "columns", "table": "sessions" }, { "type": "integer", "notNull": true, "autoincrement": false, "default": null, "generated": null, "name": "expires_at", "entityType": "columns", "table": "sessions" }, { "type": "integer", "notNull": true, "autoincrement": false, "default": null, "generated": null, "name": "created_at", "entityType": "columns", "table": "sessions" }, { "type": "text", "notNull": false, "autoincrement": false, "default": null, "generated": null, "name": "scope", "entityType": "columns", "table": "sessions" }, { "type": "text", "notNull": false, "autoincrement": false, "default": null, "generated": null, "name": "token_type", "entityType": "columns", "table": "sessions" }, { "columns": [ "user_id" ], "tableTo": "actors", "columnsTo": [ "id" ], "onUpdate": "NO ACTION", "onDelete": "NO ACTION", "nameExplicit": false, "name": "fk_sessions_user_id_actors_id_fk", "entityType": "fks", "table": "sessions" }, { "columns": [ "id" ], "nameExplicit": false, "name": "actors_pk", "table": "actors", "entityType": "pks" }, { "columns": [ "id" ], "nameExplicit": false, "name": "sessions_pk", "table": "sessions", "entityType": "pks" }, { "columns": [ "discord_id" ], "nameExplicit": false, "name": "actors_discord_id_unique", "entityType": "uniques", "table": "actors" } ], "renames": [] }