{ "version": "5", "dialect": "pg", "id": "c6cb6121-2dc1-49be-8bd9-62f1c0c55939", "prevId": "00000000-0000-0000-0000-000000000000", "tables": { "accounts": { "name": "accounts", "schema": "", "columns": { "userId": { "name": "userId", "type": "text", "primaryKey": false, "notNull": true }, "type": { "name": "type", "type": "text", "primaryKey": false, "notNull": true }, "provider": { "name": "provider", "type": "text", "primaryKey": false, "notNull": true }, "providerAccountId": { "name": "providerAccountId", "type": "text", "primaryKey": false, "notNull": true }, "refresh_token": { "name": "refresh_token", "type": "text", "primaryKey": false, "notNull": false }, "access_token": { "name": "access_token", "type": "text", "primaryKey": false, "notNull": false }, "expires_at": { "name": "expires_at", "type": "integer", "primaryKey": false, "notNull": false }, "token_type": { "name": "token_type", "type": "text", "primaryKey": false, "notNull": false }, "scope": { "name": "scope", "type": "text", "primaryKey": false, "notNull": false }, "id_token": { "name": "id_token", "type": "text", "primaryKey": false, "notNull": false }, "session_state": { "name": "session_state", "type": "text", "primaryKey": false, "notNull": false } }, "indexes": {}, "foreignKeys": { "accounts_userId_users_id_fk": { "name": "accounts_userId_users_id_fk", "tableFrom": "accounts", "tableTo": "users", "columnsFrom": [ "userId" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": { "accounts_provider_providerAccountId": { "name": "accounts_provider_providerAccountId", "columns": [ "provider", "providerAccountId" ] } } }, "sessions": { "name": "sessions", "schema": "", "columns": { "userId": { "name": "userId", "type": "text", "primaryKey": false, "notNull": true }, "sessionToken": { "name": "sessionToken", "type": "text", "primaryKey": true, "notNull": true }, "expires": { "name": "expires", "type": "integer", "primaryKey": false, "notNull": true } }, "indexes": {}, "foreignKeys": { "sessions_userId_users_id_fk": { "name": "sessions_userId_users_id_fk", "tableFrom": "sessions", "tableTo": "users", "columnsFrom": [ "userId" ], "columnsTo": [ "id" ], "onDelete": "cascade", "onUpdate": "no action" } }, "compositePrimaryKeys": {} }, "users": { "name": "users", "schema": "", "columns": { "id": { "name": "id", "type": "text", "primaryKey": true, "notNull": true }, "name": { "name": "name", "type": "text", "primaryKey": false, "notNull": false }, "email": { "name": "email", "type": "text", "primaryKey": false, "notNull": true }, "emailVerified": { "name": "emailVerified", "type": "integer", "primaryKey": false, "notNull": false }, "image": { "name": "image", "type": "text", "primaryKey": false, "notNull": false } }, "indexes": {}, "foreignKeys": {}, "compositePrimaryKeys": {} }, "verificationToken": { "name": "verificationToken", "schema": "", "columns": { "identifier": { "name": "identifier", "type": "text", "primaryKey": false, "notNull": true }, "token": { "name": "token", "type": "text", "primaryKey": false, "notNull": true }, "expires": { "name": "expires", "type": "integer", "primaryKey": false, "notNull": true } }, "indexes": {}, "foreignKeys": {}, "compositePrimaryKeys": { "verificationToken_identifier_token": { "name": "verificationToken_identifier_token", "columns": [ "identifier", "token" ] } } } }, "enums": {}, "schemas": {}, "_meta": { "schemas": {}, "tables": {}, "columns": {} } }