2024-04-16 19:06:23 -04:00
|
|
|
{
|
|
|
|
"version": "5",
|
|
|
|
"dialect": "sqlite",
|
2024-05-01 01:29:16 -04:00
|
|
|
"id": "6570ba20-a672-400c-8147-7ba533784918",
|
2024-04-16 19:06:23 -04:00
|
|
|
"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
|
|
|
|
},
|
2024-04-23 01:53:37 -04:00
|
|
|
"type": {
|
|
|
|
"name": "type",
|
2024-04-16 19:06:23 -04:00
|
|
|
"type": "text",
|
|
|
|
"primaryKey": false,
|
|
|
|
"notNull": true,
|
|
|
|
"autoincrement": false
|
|
|
|
},
|
2024-05-01 01:29:16 -04:00
|
|
|
"visibility": {
|
|
|
|
"name": "visibility",
|
2024-04-23 01:53:37 -04:00
|
|
|
"type": "text",
|
|
|
|
"primaryKey": false,
|
|
|
|
"notNull": false,
|
|
|
|
"autoincrement": false
|
|
|
|
},
|
2024-04-16 19:06:23 -04:00
|
|
|
"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": {}
|
2024-05-01 01:29:16 -04:00
|
|
|
},
|
|
|
|
"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": {}
|
2024-04-16 19:06:23 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"enums": {},
|
|
|
|
"_meta": {
|
|
|
|
"schemas": {},
|
|
|
|
"tables": {},
|
|
|
|
"columns": {}
|
|
|
|
}
|
|
|
|
}
|