{ "version": "5", "dialect": "sqlite", "id": "6570ba20-a672-400c-8147-7ba533784918", "prevId": "00000000-0000-0000-0000-000000000000", "tables": { "sandbox": { "name": "sandbox", "columns": { "id": { "name": "id", "type": "text", "primaryKey": true, "notNull": true, "autoincrement": false }, "name": { "name": "name", "type": "text", "primaryKey": false, "notNull": true, "autoincrement": false }, "type": { "name": "type", "type": "text", "primaryKey": false, "notNull": true, "autoincrement": false }, "visibility": { "name": "visibility", "type": "text", "primaryKey": false, "notNull": false, "autoincrement": false }, "user_id": { "name": "user_id", "type": "text", "primaryKey": false, "notNull": true, "autoincrement": false } }, "indexes": { "sandbox_id_unique": { "name": "sandbox_id_unique", "columns": [ "id" ], "isUnique": true } }, "foreignKeys": { "sandbox_user_id_user_id_fk": { "name": "sandbox_user_id_user_id_fk", "tableFrom": "sandbox", "tableTo": "user", "columnsFrom": [ "user_id" ], "columnsTo": [ "id" ], "onDelete": "no action", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {} }, "user": { "name": "user", "columns": { "id": { "name": "id", "type": "text", "primaryKey": true, "notNull": true, "autoincrement": false }, "name": { "name": "name", "type": "text", "primaryKey": false, "notNull": true, "autoincrement": false }, "email": { "name": "email", "type": "text", "primaryKey": false, "notNull": true, "autoincrement": false } }, "indexes": { "user_id_unique": { "name": "user_id_unique", "columns": [ "id" ], "isUnique": true } }, "foreignKeys": {}, "compositePrimaryKeys": {}, "uniqueConstraints": {} }, "users_to_sandboxes": { "name": "users_to_sandboxes", "columns": { "userId": { "name": "userId", "type": "text", "primaryKey": false, "notNull": true, "autoincrement": false }, "sandboxId": { "name": "sandboxId", "type": "text", "primaryKey": false, "notNull": true, "autoincrement": false } }, "indexes": {}, "foreignKeys": { "users_to_sandboxes_userId_user_id_fk": { "name": "users_to_sandboxes_userId_user_id_fk", "tableFrom": "users_to_sandboxes", "tableTo": "user", "columnsFrom": [ "userId" ], "columnsTo": [ "id" ], "onDelete": "no action", "onUpdate": "no action" }, "users_to_sandboxes_sandboxId_sandbox_id_fk": { "name": "users_to_sandboxes_sandboxId_sandbox_id_fk", "tableFrom": "users_to_sandboxes", "tableTo": "sandbox", "columnsFrom": [ "sandboxId" ], "columnsTo": [ "id" ], "onDelete": "no action", "onUpdate": "no action" } }, "compositePrimaryKeys": {}, "uniqueConstraints": {} } }, "enums": {}, "_meta": { "schemas": {}, "tables": {}, "columns": {} } }