{ "id": "3c2af8b1-1824-4003-a4f0-d3bfc27c235d", "prevId": "53dea8d7-01be-4983-ac75-9de9c9a7f592", "version": "7", "dialect": "postgresql", "tables": { "public.users": { "name": "users", "schema": "", "columns": { "id": { "name": "id", "type": "uuid", "primaryKey": true, "notNull": true, "default": "gen_random_uuid()" }, "name": { "name": "name", "type": "text", "primaryKey": false, "notNull": true } }, "indexes": {}, "foreignKeys": {}, "compositePrimaryKeys": {}, "uniqueConstraints": { "users_name_unique": { "name": "users_name_unique", "nullsNotDistinct": false, "columns": [ "name" ] } }, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false }, "public.nodes": { "name": "nodes", "schema": "", "columns": { "id": { "name": "id", "type": "serial", "primaryKey": true, "notNull": true }, "userId": { "name": "userId", "type": "varchar", "primaryKey": false, "notNull": true }, "systemId": { "name": "systemId", "type": "varchar", "primaryKey": false, "notNull": true }, "nodeId": { "name": "nodeId", "type": "varchar", "primaryKey": false, "notNull": true }, "content": { "name": "content", "type": "bytea", "primaryKey": false, "notNull": true }, "definition": { "name": "definition", "type": "json", "primaryKey": false, "notNull": true }, "hash": { "name": "hash", "type": "varchar(8)", "primaryKey": false, "notNull": true }, "previous": { "name": "previous", "type": "integer", "primaryKey": false, "notNull": false } }, "indexes": { "user_id_idx": { "name": "user_id_idx", "columns": [ { "expression": "userId", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "system_id_idx": { "name": "system_id_idx", "columns": [ { "expression": "systemId", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "node_id_idx": { "name": "node_id_idx", "columns": [ { "expression": "nodeId", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} }, "hash_idx": { "name": "hash_idx", "columns": [ { "expression": "hash", "isExpression": false, "asc": true, "nulls": "last" } ], "isUnique": false, "concurrently": false, "method": "btree", "with": {} } }, "foreignKeys": {}, "compositePrimaryKeys": {}, "uniqueConstraints": {}, "policies": {}, "checkConstraints": {}, "isRLSEnabled": false } }, "enums": {}, "schemas": {}, "sequences": {}, "roles": {}, "policies": {}, "views": {}, "_meta": { "columns": {}, "schemas": {}, "tables": {} } }