mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5749 lines
125 KiB
5749 lines
125 KiB
{
|
|
"version": "8",
|
|
"dialect": "postgres",
|
|
"id": "c4277c08-bb67-491e-9169-97038b9a50da",
|
|
"prevIds": [
|
|
"00000000-0000-0000-0000-000000000000"
|
|
],
|
|
"ddl": [
|
|
{
|
|
"values": [
|
|
"document",
|
|
"image",
|
|
"other"
|
|
],
|
|
"name": "assetKind",
|
|
"entityType": "enums",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"values": [
|
|
"pending",
|
|
"success",
|
|
"error"
|
|
],
|
|
"name": "hookState",
|
|
"entityType": "enums",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"values": [
|
|
"active",
|
|
"completed",
|
|
"failed",
|
|
"interrupted"
|
|
],
|
|
"name": "jobHistoryState",
|
|
"entityType": "enums",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"values": [
|
|
"draft",
|
|
"published",
|
|
"scheduled"
|
|
],
|
|
"name": "pagePublishState",
|
|
"entityType": "enums",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"values": [
|
|
"inherit",
|
|
"override",
|
|
"overrideExact",
|
|
"hide",
|
|
"hideExact"
|
|
],
|
|
"name": "treeNavigationMode",
|
|
"entityType": "enums",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"values": [
|
|
"folder",
|
|
"page",
|
|
"asset"
|
|
],
|
|
"name": "treeType",
|
|
"entityType": "enums",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "apiKeys",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "approvalRules",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "assets",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "authentication",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "blocks",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "groups",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "hooks",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "iconSets",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "icons",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "jobHistory",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "jobLock",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "jobSchedule",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "jobs",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "locales",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "navigation",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "pageEditSubmissions",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "pageHistory",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "pageRenderQueue",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "pageWatching",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "pages",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "rateLimits",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "sessions",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "settings",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "siteAssets",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "sites",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "storage",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "tags",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "tree",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "userAvatars",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "userGroups",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "userKeys",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "users",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apiKeys"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apiKeys"
|
|
},
|
|
{
|
|
"type": "varchar(8)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "keyShort",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apiKeys"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'[]'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "groups",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apiKeys"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "expiration",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apiKeys"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isRevoked",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apiKeys"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apiKeys"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "apiKeys"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "approvalRules"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "''",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "approvalRules"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "true",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isEnabled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "approvalRules"
|
|
},
|
|
{
|
|
"type": "varchar(16)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'START'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "match",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "approvalRules"
|
|
},
|
|
{
|
|
"type": "varchar(2048)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "''",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "path",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "approvalRules"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'[]'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "submitterGroups",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "approvalRules"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'[]'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "reviewerGroups",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "approvalRules"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "approvalRules"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "approvalRules"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "siteId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "approvalRules"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "fileName",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "fileExt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isSystem",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "assetKind",
|
|
"typeSchema": "public",
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'other'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "kind",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'application/octet-stream'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "mimeType",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "bigint",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "fileSize",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "meta",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "bytea",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "data",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "bytea",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "preview",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "storageInfo",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "authorId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "siteId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "authentication"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "module",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "authentication"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isEnabled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "authentication"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "''",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "displayName",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "authentication"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "config",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "authentication"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "registration",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "authentication"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "''",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "allowedEmailRegex",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "authentication"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 1,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "autoEnrollGroups",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "authentication"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "blocks"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "block",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "blocks"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "blocks"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "description",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "blocks"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "icon",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "blocks"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isEnabled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "blocks"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isCustom",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "blocks"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "config",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "blocks"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "siteId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "blocks"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "groups"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "groups"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "permissions",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "groups"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "rules",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "groups"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "''",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "redirectOnLogin",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "groups"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "''",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "redirectOnFirstLogin",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "groups"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "''",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "redirectOnLogout",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "groups"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isSystem",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "groups"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "groups"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "groups"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "hooks"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "hooks"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 1,
|
|
"default": "ARRAY[]",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "events",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "hooks"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "url",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "hooks"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "true",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "includeMetadata",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "hooks"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "includeContent",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "hooks"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "acceptUntrusted",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "hooks"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "authHeader",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "hooks"
|
|
},
|
|
{
|
|
"type": "hookState",
|
|
"typeSchema": "public",
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'pending'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "state",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "hooks"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "lastErrorMessage",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "hooks"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "hooks"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "hooks"
|
|
},
|
|
{
|
|
"type": "varchar(64)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "prefix",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "iconSets"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "iconSets"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "true",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isEnabled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "iconSets"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "info",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "iconSets"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "refreshedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "iconSets"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "iconSets"
|
|
},
|
|
{
|
|
"type": "varchar(64)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "prefix",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "icons"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "icons"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "body",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "icons"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "16",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "width",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "icons"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "16",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "height",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "icons"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "left",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "icons"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "top",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "icons"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "rotate",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "icons"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "hFlip",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "icons"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "vFlip",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "icons"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "icons"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobHistory"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "task",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobHistory"
|
|
},
|
|
{
|
|
"type": "jobHistoryState",
|
|
"typeSchema": "public",
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "state",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobHistory"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "useWorker",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobHistory"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "wasScheduled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobHistory"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "payload",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobHistory"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "1",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "attempt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobHistory"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "maxRetries",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobHistory"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "lastErrorMessage",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobHistory"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "executedBy",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobHistory"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobHistory"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "startedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobHistory"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "completedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobHistory"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "key",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobLock"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "lastCheckedBy",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobLock"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "lastCheckedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobLock"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobSchedule"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "task",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobSchedule"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "cron",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobSchedule"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'system'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "type",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobSchedule"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "payload",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobSchedule"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobSchedule"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobSchedule"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobs"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "task",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobs"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "useWorker",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobs"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "payload",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobs"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "retries",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobs"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "maxRetries",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobs"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "waitUntil",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobs"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isScheduled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobs"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdBy",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobs"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobs"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "jobs"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "code",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "locales"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "locales"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "nativeName",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "locales"
|
|
},
|
|
{
|
|
"type": "varchar(8)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "language",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "locales"
|
|
},
|
|
{
|
|
"type": "varchar(3)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "region",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "locales"
|
|
},
|
|
{
|
|
"type": "varchar(4)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "script",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "locales"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isRTL",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "locales"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'[]'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "strings",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "locales"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "completeness",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "locales"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "locales"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "locales"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "navigation"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'[]'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "items",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "navigation"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "siteId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "navigation"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "content",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "patch",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"type": "varchar(64)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "baseHash",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "guestName",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "guestEmail",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "pageId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "siteId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "authorId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "pageId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"type": "varchar(16)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'updated'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "action",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 1,
|
|
"default": "ARRAY[]",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "changedFields",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "locale",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "path",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "title",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "content",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "meta",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "reason",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "versionDate",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "authorId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "siteId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageRenderQueue"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "allowScripts",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageRenderQueue"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "allowStyles",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageRenderQueue"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageRenderQueue"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageRenderQueue"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "pageId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageRenderQueue"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "siteId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageRenderQueue"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "requestedById",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageRenderQueue"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageWatching"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageWatching"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "pageId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageWatching"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "siteId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageWatching"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "userId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pageWatching"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "locale",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "path",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "hash",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "alias",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "title",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "description",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "icon",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "pagePublishState",
|
|
"typeSchema": "public",
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'draft'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "publishState",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "publishStartDate",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "publishEndDate",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "config",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'[]'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "relations",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "content",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "render",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "searchContent",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "tsvector",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "ts",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 1,
|
|
"default": "ARRAY[]",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "tags",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "toc",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "editor",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "contentType",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "true",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isBrowsable",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "true",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isSearchable",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": {
|
|
"as": "\"pages\".\"publishState\" != 'draft' AND \"pages\".\"isSearchable\"",
|
|
"type": "stored"
|
|
},
|
|
"identity": null,
|
|
"name": "isSearchableComputed",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "password",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "ratingScore",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "ratingCount",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "scripts",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "historyData",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "authorId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "creatorId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "ownerId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "siteId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "key",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "rateLimits"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "hits",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "rateLimits"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "windowStartedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "rateLimits"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "bannedUntil",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "rateLimits"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "rateLimits"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "userId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "data",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "key",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "settings"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "value",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "settings"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "siteId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "siteAssets"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "kind",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "siteAssets"
|
|
},
|
|
{
|
|
"type": "bytea",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "data",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "siteAssets"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sites"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "hostname",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sites"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isEnabled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sites"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "config",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sites"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sites"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "storage"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "module",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "storage"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isEnabled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "storage"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "contentTypes",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "storage"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "assetDelivery",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "storage"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "versioning",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "storage"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "config",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "storage"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "state",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "storage"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "siteId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "storage"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tags"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "tag",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tags"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "usageCount",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tags"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tags"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tags"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "siteId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tags"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"type": "ltree",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "folderPath",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "fileName",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "hash",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"type": "treeType",
|
|
"typeSchema": "public",
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "tree",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "locale",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "title",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"type": "treeNavigationMode",
|
|
"typeSchema": "public",
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'inherit'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "navigationMode",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "navigationId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 1,
|
|
"default": "ARRAY[]",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "tags",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "meta",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "siteId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "userAvatars"
|
|
},
|
|
{
|
|
"type": "bytea",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "data",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "userAvatars"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "userId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "userGroups"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "groupId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "userGroups"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "userKeys"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "kind",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "userKeys"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "token",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "userKeys"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "meta",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "userKeys"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "userKeys"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "validUntil",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "userKeys"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "userId",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "userKeys"
|
|
},
|
|
{
|
|
"type": "uuid",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "gen_random_uuid()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "email",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "varchar(255)",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "auth",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "meta",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "passkeys",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "prefs",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "hasAvatar",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isActive",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isSystem",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "isVerified",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "lastLoginAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "createdAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "timestamp",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updatedAt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "siteId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "approvalRules_siteId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "approvalRules"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "siteId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "assets_siteId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "siteId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "blocks_siteId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "blocks"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "language",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "locales_language_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "locales"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "siteId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "navigation_siteId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "navigation"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "pageId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pageEditSubmissions_pageId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "siteId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pageEditSubmissions_siteId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "authorId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pageEditSubmissions_authorId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "pageId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "authorId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": true,
|
|
"where": "\"authorId\" IS NOT NULL",
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pageEditSubmissions_page_author_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "pageId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "versionDate",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pageHistory_pageId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "siteId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "locale",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "path",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "versionDate",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pageHistory_siteId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "authorId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pageHistory_authorId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "createdAt",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pageRenderQueue_createdAt_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pageRenderQueue"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "userId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "siteId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pageWatching_user_site_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pageWatching"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "pageId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "userId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": true,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pageWatching_page_user_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pageWatching"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "authorId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pages_authorId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "creatorId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pages_creatorId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "ownerId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pages_ownerId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "siteId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pages_siteId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "ts",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "gin",
|
|
"concurrently": false,
|
|
"name": "pages_ts_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "tags",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "gin",
|
|
"concurrently": false,
|
|
"name": "pages_tags_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "isSearchableComputed",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "pages_isSearchableComputed_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "updatedAt",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "rateLimits_updatedAt_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "rateLimits"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "userId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "sessions_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "siteId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "module",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": true,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "storage_composite_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "storage"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "siteId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "tags_siteId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "tags"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "siteId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "tag",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": true,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "tags_composite_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "tags"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "folderPath",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "tree_folderpath_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "folderPath",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "gist",
|
|
"concurrently": false,
|
|
"name": "tree_folderpath_gist_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "fileName",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "tree_fileName_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "hash",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "tree_hash_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "tree",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "tree_type_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "locale",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "tree_locale_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "navigationMode",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "tree_navigationMode_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "navigationId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "tree_navigationId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "tags",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "gin",
|
|
"concurrently": false,
|
|
"name": "tree_tags_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "siteId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "tree_siteId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "userId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "userGroups_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "userGroups"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "groupId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "userGroups_groupId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "userGroups"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "userId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
},
|
|
{
|
|
"value": "groupId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "userGroups_composite_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "userGroups"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "userId",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "userKeys_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "userKeys"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "lastLoginAt",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "users_lastLoginAt_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"siteId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "sites",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "approvalRules_siteId_sites_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "approvalRules"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"authorId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "users",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "assets_authorId_users_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"siteId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "sites",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "assets_siteId_sites_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "assets"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"siteId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "sites",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "blocks_siteId_sites_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "blocks"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"prefix"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "iconSets",
|
|
"columnsTo": [
|
|
"prefix"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "icons_prefix_iconSets_prefix_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "icons"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"siteId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "sites",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "navigation_siteId_sites_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "navigation"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"pageId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "pages",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "pageEditSubmissions_pageId_pages_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"siteId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "sites",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "pageEditSubmissions_siteId_sites_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"authorId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "users",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "pageEditSubmissions_authorId_users_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"authorId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "users",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "SET NULL",
|
|
"name": "pageHistory_authorId_users_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"siteId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "sites",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "pageHistory_siteId_sites_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pageHistory"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"pageId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "pages",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "pageRenderQueue_pageId_pages_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pageRenderQueue"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"siteId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "sites",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "pageRenderQueue_siteId_sites_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pageRenderQueue"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"requestedById"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "users",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "SET NULL",
|
|
"name": "pageRenderQueue_requestedById_users_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pageRenderQueue"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"pageId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "pages",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "pageWatching_pageId_pages_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pageWatching"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"siteId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "sites",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "pageWatching_siteId_sites_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pageWatching"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"userId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "users",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "pageWatching_userId_users_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pageWatching"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"authorId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "users",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "pages_authorId_users_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"creatorId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "users",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "pages_creatorId_users_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"ownerId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "users",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "pages_ownerId_users_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"siteId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "sites",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "pages_siteId_sites_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "pages"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"userId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "users",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "sessions_userId_users_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"siteId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "sites",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "siteAssets_siteId_sites_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "siteAssets"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"siteId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "sites",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "storage_siteId_sites_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "storage"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"siteId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "sites",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "tags_siteId_sites_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "tags"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"siteId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "sites",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "tree_siteId_sites_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "tree"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"userId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "users",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "userGroups_userId_users_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "userGroups"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"groupId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "groups",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "userGroups_groupId_groups_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "userGroups"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"userId"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "users",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "NO ACTION",
|
|
"name": "userKeys_userId_users_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "userKeys"
|
|
},
|
|
{
|
|
"columns": [
|
|
"prefix",
|
|
"name"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "icons_pkey",
|
|
"entityType": "pks",
|
|
"schema": "public",
|
|
"table": "icons"
|
|
},
|
|
{
|
|
"columns": [
|
|
"siteId",
|
|
"kind"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "siteAssets_pkey",
|
|
"entityType": "pks",
|
|
"schema": "public",
|
|
"table": "siteAssets"
|
|
},
|
|
{
|
|
"columns": [
|
|
"userId",
|
|
"groupId"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "userGroups_pkey",
|
|
"entityType": "pks",
|
|
"schema": "public",
|
|
"table": "userGroups"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "apiKeys_pkey",
|
|
"schema": "public",
|
|
"table": "apiKeys",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "approvalRules_pkey",
|
|
"schema": "public",
|
|
"table": "approvalRules",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "assets_pkey",
|
|
"schema": "public",
|
|
"table": "assets",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "authentication_pkey",
|
|
"schema": "public",
|
|
"table": "authentication",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "blocks_pkey",
|
|
"schema": "public",
|
|
"table": "blocks",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "groups_pkey",
|
|
"schema": "public",
|
|
"table": "groups",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "hooks_pkey",
|
|
"schema": "public",
|
|
"table": "hooks",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"prefix"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "iconSets_pkey",
|
|
"schema": "public",
|
|
"table": "iconSets",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "jobHistory_pkey",
|
|
"schema": "public",
|
|
"table": "jobHistory",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"key"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "jobLock_pkey",
|
|
"schema": "public",
|
|
"table": "jobLock",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "jobSchedule_pkey",
|
|
"schema": "public",
|
|
"table": "jobSchedule",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "jobs_pkey",
|
|
"schema": "public",
|
|
"table": "jobs",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"code"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "locales_pkey",
|
|
"schema": "public",
|
|
"table": "locales",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "navigation_pkey",
|
|
"schema": "public",
|
|
"table": "navigation",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "pageEditSubmissions_pkey",
|
|
"schema": "public",
|
|
"table": "pageEditSubmissions",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "pageHistory_pkey",
|
|
"schema": "public",
|
|
"table": "pageHistory",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "pageRenderQueue_pkey",
|
|
"schema": "public",
|
|
"table": "pageRenderQueue",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "pageWatching_pkey",
|
|
"schema": "public",
|
|
"table": "pageWatching",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "pages_pkey",
|
|
"schema": "public",
|
|
"table": "pages",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"key"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "rateLimits_pkey",
|
|
"schema": "public",
|
|
"table": "rateLimits",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "sessions_pkey",
|
|
"schema": "public",
|
|
"table": "sessions",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"key"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "settings_pkey",
|
|
"schema": "public",
|
|
"table": "settings",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "sites_pkey",
|
|
"schema": "public",
|
|
"table": "sites",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "storage_pkey",
|
|
"schema": "public",
|
|
"table": "storage",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "tags_pkey",
|
|
"schema": "public",
|
|
"table": "tags",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "tree_pkey",
|
|
"schema": "public",
|
|
"table": "tree",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "userAvatars_pkey",
|
|
"schema": "public",
|
|
"table": "userAvatars",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "userKeys_pkey",
|
|
"schema": "public",
|
|
"table": "userKeys",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "users_pkey",
|
|
"schema": "public",
|
|
"table": "users",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"pageId"
|
|
],
|
|
"nullsNotDistinct": false,
|
|
"name": "pageRenderQueue_pageId_key",
|
|
"schema": "public",
|
|
"table": "pageRenderQueue",
|
|
"entityType": "uniques"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"hostname"
|
|
],
|
|
"nullsNotDistinct": false,
|
|
"name": "sites_hostname_key",
|
|
"schema": "public",
|
|
"table": "sites",
|
|
"entityType": "uniques"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"email"
|
|
],
|
|
"nullsNotDistinct": false,
|
|
"name": "users_email_key",
|
|
"schema": "public",
|
|
"table": "users",
|
|
"entityType": "uniques"
|
|
}
|
|
],
|
|
"renames": []
|
|
} |