- seoPlugin extended to cover 7 globals (home, dyvolis, group-visits, birthday, tickets, checkout, thank-you) with tabbedUI, generateURL, generateTitle from heroTitle, generateDescription from heroSubtitle - Remove manual metaTitle/metaDescription fields from 4 globals (BirthdayPage, GroupVisitsPage, TicketsPage, DyvoLisPage) - Update 5 page files to read meta?.title/description from seoPlugin - blog/[slug] now uses post.meta?.title from plugin instead of raw title - pnpm migrate/migrate:create/migrate:status scripts fixed with NODE_OPTIONS='--import tsx' (resolves Node.js v26 + tsx incompatibility) - Initial full-schema migration 20260515_153940.ts created as baseline Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10120 lines
273 KiB
JSON
10120 lines
273 KiB
JSON
{
|
||
"version": "7",
|
||
"dialect": "postgresql",
|
||
"tables": {
|
||
"public.users_sessions": {
|
||
"name": "users_sessions",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"expires_at": {
|
||
"name": "expires_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
}
|
||
},
|
||
"indexes": {
|
||
"users_sessions_order_idx": {
|
||
"name": "users_sessions_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"users_sessions_parent_id_idx": {
|
||
"name": "users_sessions_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"users_sessions_parent_id_fk": {
|
||
"name": "users_sessions_parent_id_fk",
|
||
"tableFrom": "users_sessions",
|
||
"tableTo": "users",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.users": {
|
||
"name": "users",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"name": {
|
||
"name": "name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"role": {
|
||
"name": "role",
|
||
"type": "enum_users_role",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "'editor'"
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"email": {
|
||
"name": "email",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"reset_password_token": {
|
||
"name": "reset_password_token",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"reset_password_expiration": {
|
||
"name": "reset_password_expiration",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"salt": {
|
||
"name": "salt",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"hash": {
|
||
"name": "hash",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"login_attempts": {
|
||
"name": "login_attempts",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": 0
|
||
},
|
||
"lock_until": {
|
||
"name": "lock_until",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"users_updated_at_idx": {
|
||
"name": "users_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"users_created_at_idx": {
|
||
"name": "users_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"users_email_idx": {
|
||
"name": "users_email_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "email",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": true,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.media": {
|
||
"name": "media",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"alt": {
|
||
"name": "alt",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"url": {
|
||
"name": "url",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"thumbnail_u_r_l": {
|
||
"name": "thumbnail_u_r_l",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"filename": {
|
||
"name": "filename",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"mime_type": {
|
||
"name": "mime_type",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"filesize": {
|
||
"name": "filesize",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"width": {
|
||
"name": "width",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"height": {
|
||
"name": "height",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"focal_x": {
|
||
"name": "focal_x",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"focal_y": {
|
||
"name": "focal_y",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"media_updated_at_idx": {
|
||
"name": "media_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"media_created_at_idx": {
|
||
"name": "media_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"media_filename_idx": {
|
||
"name": "media_filename_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "filename",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": true,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_hero": {
|
||
"name": "pages_blocks_hero",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"subtitle": {
|
||
"name": "subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_label": {
|
||
"name": "cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_href": {
|
||
"name": "cta_href",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"background_type": {
|
||
"name": "background_type",
|
||
"type": "enum_pages_blocks_hero_background_type",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'image'"
|
||
},
|
||
"background_image_id": {
|
||
"name": "background_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"background_video_url": {
|
||
"name": "background_video_url",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_hero_order_idx": {
|
||
"name": "pages_blocks_hero_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_hero_parent_id_idx": {
|
||
"name": "pages_blocks_hero_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_hero_path_idx": {
|
||
"name": "pages_blocks_hero_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_hero_background_image_idx": {
|
||
"name": "pages_blocks_hero_background_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "background_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_hero_background_image_id_media_id_fk": {
|
||
"name": "pages_blocks_hero_background_image_id_media_id_fk",
|
||
"tableFrom": "pages_blocks_hero",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["background_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"pages_blocks_hero_parent_id_fk": {
|
||
"name": "pages_blocks_hero_parent_id_fk",
|
||
"tableFrom": "pages_blocks_hero",
|
||
"tableTo": "pages",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_locations_teaser_locations": {
|
||
"name": "pages_blocks_locations_teaser_locations",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"name": {
|
||
"name": "name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"description": {
|
||
"name": "description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"image_id": {
|
||
"name": "image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"href": {
|
||
"name": "href",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_label": {
|
||
"name": "cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_locations_teaser_locations_order_idx": {
|
||
"name": "pages_blocks_locations_teaser_locations_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_locations_teaser_locations_parent_id_idx": {
|
||
"name": "pages_blocks_locations_teaser_locations_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_locations_teaser_locations_image_idx": {
|
||
"name": "pages_blocks_locations_teaser_locations_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_locations_teaser_locations_image_id_media_id_fk": {
|
||
"name": "pages_blocks_locations_teaser_locations_image_id_media_id_fk",
|
||
"tableFrom": "pages_blocks_locations_teaser_locations",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"pages_blocks_locations_teaser_locations_parent_id_fk": {
|
||
"name": "pages_blocks_locations_teaser_locations_parent_id_fk",
|
||
"tableFrom": "pages_blocks_locations_teaser_locations",
|
||
"tableTo": "pages_blocks_locations_teaser",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_locations_teaser": {
|
||
"name": "pages_blocks_locations_teaser",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_locations_teaser_order_idx": {
|
||
"name": "pages_blocks_locations_teaser_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_locations_teaser_parent_id_idx": {
|
||
"name": "pages_blocks_locations_teaser_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_locations_teaser_path_idx": {
|
||
"name": "pages_blocks_locations_teaser_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_locations_teaser_parent_id_fk": {
|
||
"name": "pages_blocks_locations_teaser_parent_id_fk",
|
||
"tableFrom": "pages_blocks_locations_teaser",
|
||
"tableTo": "pages",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_features_items": {
|
||
"name": "pages_blocks_features_items",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"icon": {
|
||
"name": "icon",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"description": {
|
||
"name": "description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_features_items_order_idx": {
|
||
"name": "pages_blocks_features_items_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_features_items_parent_id_idx": {
|
||
"name": "pages_blocks_features_items_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_features_items_parent_id_fk": {
|
||
"name": "pages_blocks_features_items_parent_id_fk",
|
||
"tableFrom": "pages_blocks_features_items",
|
||
"tableTo": "pages_blocks_features",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_features": {
|
||
"name": "pages_blocks_features",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_features_order_idx": {
|
||
"name": "pages_blocks_features_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_features_parent_id_idx": {
|
||
"name": "pages_blocks_features_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_features_path_idx": {
|
||
"name": "pages_blocks_features_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_features_parent_id_fk": {
|
||
"name": "pages_blocks_features_parent_id_fk",
|
||
"tableFrom": "pages_blocks_features",
|
||
"tableTo": "pages",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_news_block": {
|
||
"name": "pages_blocks_news_block",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Новини'"
|
||
},
|
||
"limit": {
|
||
"name": "limit",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": 3
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_news_block_order_idx": {
|
||
"name": "pages_blocks_news_block_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_news_block_parent_id_idx": {
|
||
"name": "pages_blocks_news_block_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_news_block_path_idx": {
|
||
"name": "pages_blocks_news_block_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_news_block_parent_id_fk": {
|
||
"name": "pages_blocks_news_block_parent_id_fk",
|
||
"tableFrom": "pages_blocks_news_block",
|
||
"tableTo": "pages",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_newsletter_form": {
|
||
"name": "pages_blocks_newsletter_form",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"subtitle": {
|
||
"name": "subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_label": {
|
||
"name": "cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Підписатися'"
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_newsletter_form_order_idx": {
|
||
"name": "pages_blocks_newsletter_form_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_newsletter_form_parent_id_idx": {
|
||
"name": "pages_blocks_newsletter_form_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_newsletter_form_path_idx": {
|
||
"name": "pages_blocks_newsletter_form_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_newsletter_form_parent_id_fk": {
|
||
"name": "pages_blocks_newsletter_form_parent_id_fk",
|
||
"tableFrom": "pages_blocks_newsletter_form",
|
||
"tableTo": "pages",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_gallery_images": {
|
||
"name": "pages_blocks_gallery_images",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"image_id": {
|
||
"name": "image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"caption": {
|
||
"name": "caption",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_gallery_images_order_idx": {
|
||
"name": "pages_blocks_gallery_images_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_gallery_images_parent_id_idx": {
|
||
"name": "pages_blocks_gallery_images_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_gallery_images_image_idx": {
|
||
"name": "pages_blocks_gallery_images_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_gallery_images_image_id_media_id_fk": {
|
||
"name": "pages_blocks_gallery_images_image_id_media_id_fk",
|
||
"tableFrom": "pages_blocks_gallery_images",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"pages_blocks_gallery_images_parent_id_fk": {
|
||
"name": "pages_blocks_gallery_images_parent_id_fk",
|
||
"tableFrom": "pages_blocks_gallery_images",
|
||
"tableTo": "pages_blocks_gallery",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_gallery": {
|
||
"name": "pages_blocks_gallery",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_gallery_order_idx": {
|
||
"name": "pages_blocks_gallery_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_gallery_parent_id_idx": {
|
||
"name": "pages_blocks_gallery_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_gallery_path_idx": {
|
||
"name": "pages_blocks_gallery_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_gallery_parent_id_fk": {
|
||
"name": "pages_blocks_gallery_parent_id_fk",
|
||
"tableFrom": "pages_blocks_gallery",
|
||
"tableTo": "pages",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_rich_text": {
|
||
"name": "pages_blocks_rich_text",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"content": {
|
||
"name": "content",
|
||
"type": "jsonb",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_rich_text_order_idx": {
|
||
"name": "pages_blocks_rich_text_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_rich_text_parent_id_idx": {
|
||
"name": "pages_blocks_rich_text_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_rich_text_path_idx": {
|
||
"name": "pages_blocks_rich_text_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_rich_text_parent_id_fk": {
|
||
"name": "pages_blocks_rich_text_parent_id_fk",
|
||
"tableFrom": "pages_blocks_rich_text",
|
||
"tableTo": "pages",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_image_block": {
|
||
"name": "pages_blocks_image_block",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"image_id": {
|
||
"name": "image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"caption": {
|
||
"name": "caption",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"full_width": {
|
||
"name": "full_width",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_image_block_order_idx": {
|
||
"name": "pages_blocks_image_block_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_image_block_parent_id_idx": {
|
||
"name": "pages_blocks_image_block_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_image_block_path_idx": {
|
||
"name": "pages_blocks_image_block_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_image_block_image_idx": {
|
||
"name": "pages_blocks_image_block_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_image_block_image_id_media_id_fk": {
|
||
"name": "pages_blocks_image_block_image_id_media_id_fk",
|
||
"tableFrom": "pages_blocks_image_block",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"pages_blocks_image_block_parent_id_fk": {
|
||
"name": "pages_blocks_image_block_parent_id_fk",
|
||
"tableFrom": "pages_blocks_image_block",
|
||
"tableTo": "pages",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_video_block": {
|
||
"name": "pages_blocks_video_block",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"video_url": {
|
||
"name": "video_url",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"caption": {
|
||
"name": "caption",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"autoplay": {
|
||
"name": "autoplay",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_video_block_order_idx": {
|
||
"name": "pages_blocks_video_block_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_video_block_parent_id_idx": {
|
||
"name": "pages_blocks_video_block_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_video_block_path_idx": {
|
||
"name": "pages_blocks_video_block_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_video_block_parent_id_fk": {
|
||
"name": "pages_blocks_video_block_parent_id_fk",
|
||
"tableFrom": "pages_blocks_video_block",
|
||
"tableTo": "pages",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_lead_form": {
|
||
"name": "pages_blocks_lead_form",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"subtitle": {
|
||
"name": "subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"form_source": {
|
||
"name": "form_source",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"show_phone": {
|
||
"name": "show_phone",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": true
|
||
},
|
||
"show_email": {
|
||
"name": "show_email",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": false
|
||
},
|
||
"cta_label": {
|
||
"name": "cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Відправити'"
|
||
},
|
||
"success_message": {
|
||
"name": "success_message",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Дякуємо! Ми зв''яжемося з вами найближчим часом.'"
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_lead_form_order_idx": {
|
||
"name": "pages_blocks_lead_form_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_lead_form_parent_id_idx": {
|
||
"name": "pages_blocks_lead_form_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_lead_form_path_idx": {
|
||
"name": "pages_blocks_lead_form_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_lead_form_parent_id_fk": {
|
||
"name": "pages_blocks_lead_form_parent_id_fk",
|
||
"tableFrom": "pages_blocks_lead_form",
|
||
"tableTo": "pages",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_pricing_block": {
|
||
"name": "pages_blocks_pricing_block",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"subtitle": {
|
||
"name": "subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"show_only_visible": {
|
||
"name": "show_only_visible",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": true
|
||
},
|
||
"cta_label": {
|
||
"name": "cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Купити квиток'"
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_pricing_block_order_idx": {
|
||
"name": "pages_blocks_pricing_block_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_pricing_block_parent_id_idx": {
|
||
"name": "pages_blocks_pricing_block_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_pricing_block_path_idx": {
|
||
"name": "pages_blocks_pricing_block_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_pricing_block_parent_id_fk": {
|
||
"name": "pages_blocks_pricing_block_parent_id_fk",
|
||
"tableFrom": "pages_blocks_pricing_block",
|
||
"tableTo": "pages",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages_blocks_cta": {
|
||
"name": "pages_blocks_cta",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"subtitle": {
|
||
"name": "subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_label": {
|
||
"name": "cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_href": {
|
||
"name": "cta_href",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"variant": {
|
||
"name": "variant",
|
||
"type": "enum_pages_blocks_cta_variant",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'primary'"
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_blocks_cta_order_idx": {
|
||
"name": "pages_blocks_cta_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_cta_parent_id_idx": {
|
||
"name": "pages_blocks_cta_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_blocks_cta_path_idx": {
|
||
"name": "pages_blocks_cta_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_blocks_cta_parent_id_fk": {
|
||
"name": "pages_blocks_cta_parent_id_fk",
|
||
"tableFrom": "pages_blocks_cta",
|
||
"tableTo": "pages",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.pages": {
|
||
"name": "pages",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"slug": {
|
||
"name": "slug",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"status": {
|
||
"name": "status",
|
||
"type": "enum_pages_status",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'draft'"
|
||
},
|
||
"meta_title": {
|
||
"name": "meta_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_description": {
|
||
"name": "meta_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_image_id": {
|
||
"name": "meta_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"_status": {
|
||
"name": "_status",
|
||
"type": "enum_pages_status",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'draft'"
|
||
}
|
||
},
|
||
"indexes": {
|
||
"pages_slug_idx": {
|
||
"name": "pages_slug_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "slug",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": true,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_meta_meta_image_idx": {
|
||
"name": "pages_meta_meta_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "meta_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_updated_at_idx": {
|
||
"name": "pages_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages_created_at_idx": {
|
||
"name": "pages_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"pages__status_idx": {
|
||
"name": "pages__status_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_status",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"pages_meta_image_id_media_id_fk": {
|
||
"name": "pages_meta_image_id_media_id_fk",
|
||
"tableFrom": "pages",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["meta_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_hero": {
|
||
"name": "_pages_v_blocks_hero",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"subtitle": {
|
||
"name": "subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_label": {
|
||
"name": "cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_href": {
|
||
"name": "cta_href",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"background_type": {
|
||
"name": "background_type",
|
||
"type": "enum__pages_v_blocks_hero_background_type",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'image'"
|
||
},
|
||
"background_image_id": {
|
||
"name": "background_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"background_video_url": {
|
||
"name": "background_video_url",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_hero_order_idx": {
|
||
"name": "_pages_v_blocks_hero_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_hero_parent_id_idx": {
|
||
"name": "_pages_v_blocks_hero_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_hero_path_idx": {
|
||
"name": "_pages_v_blocks_hero_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_hero_background_image_idx": {
|
||
"name": "_pages_v_blocks_hero_background_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "background_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_hero_background_image_id_media_id_fk": {
|
||
"name": "_pages_v_blocks_hero_background_image_id_media_id_fk",
|
||
"tableFrom": "_pages_v_blocks_hero",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["background_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"_pages_v_blocks_hero_parent_id_fk": {
|
||
"name": "_pages_v_blocks_hero_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_hero",
|
||
"tableTo": "_pages_v",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_locations_teaser_locations": {
|
||
"name": "_pages_v_blocks_locations_teaser_locations",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"name": {
|
||
"name": "name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"description": {
|
||
"name": "description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"image_id": {
|
||
"name": "image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"href": {
|
||
"name": "href",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_label": {
|
||
"name": "cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_locations_teaser_locations_order_idx": {
|
||
"name": "_pages_v_blocks_locations_teaser_locations_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_locations_teaser_locations_parent_id_idx": {
|
||
"name": "_pages_v_blocks_locations_teaser_locations_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_locations_teaser_locations_image_idx": {
|
||
"name": "_pages_v_blocks_locations_teaser_locations_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_locations_teaser_locations_image_id_media_id_fk": {
|
||
"name": "_pages_v_blocks_locations_teaser_locations_image_id_media_id_fk",
|
||
"tableFrom": "_pages_v_blocks_locations_teaser_locations",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"_pages_v_blocks_locations_teaser_locations_parent_id_fk": {
|
||
"name": "_pages_v_blocks_locations_teaser_locations_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_locations_teaser_locations",
|
||
"tableTo": "_pages_v_blocks_locations_teaser",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_locations_teaser": {
|
||
"name": "_pages_v_blocks_locations_teaser",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_locations_teaser_order_idx": {
|
||
"name": "_pages_v_blocks_locations_teaser_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_locations_teaser_parent_id_idx": {
|
||
"name": "_pages_v_blocks_locations_teaser_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_locations_teaser_path_idx": {
|
||
"name": "_pages_v_blocks_locations_teaser_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_locations_teaser_parent_id_fk": {
|
||
"name": "_pages_v_blocks_locations_teaser_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_locations_teaser",
|
||
"tableTo": "_pages_v",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_features_items": {
|
||
"name": "_pages_v_blocks_features_items",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"icon": {
|
||
"name": "icon",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"description": {
|
||
"name": "description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_features_items_order_idx": {
|
||
"name": "_pages_v_blocks_features_items_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_features_items_parent_id_idx": {
|
||
"name": "_pages_v_blocks_features_items_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_features_items_parent_id_fk": {
|
||
"name": "_pages_v_blocks_features_items_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_features_items",
|
||
"tableTo": "_pages_v_blocks_features",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_features": {
|
||
"name": "_pages_v_blocks_features",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_features_order_idx": {
|
||
"name": "_pages_v_blocks_features_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_features_parent_id_idx": {
|
||
"name": "_pages_v_blocks_features_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_features_path_idx": {
|
||
"name": "_pages_v_blocks_features_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_features_parent_id_fk": {
|
||
"name": "_pages_v_blocks_features_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_features",
|
||
"tableTo": "_pages_v",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_news_block": {
|
||
"name": "_pages_v_blocks_news_block",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Новини'"
|
||
},
|
||
"limit": {
|
||
"name": "limit",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": 3
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_news_block_order_idx": {
|
||
"name": "_pages_v_blocks_news_block_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_news_block_parent_id_idx": {
|
||
"name": "_pages_v_blocks_news_block_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_news_block_path_idx": {
|
||
"name": "_pages_v_blocks_news_block_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_news_block_parent_id_fk": {
|
||
"name": "_pages_v_blocks_news_block_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_news_block",
|
||
"tableTo": "_pages_v",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_newsletter_form": {
|
||
"name": "_pages_v_blocks_newsletter_form",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"subtitle": {
|
||
"name": "subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_label": {
|
||
"name": "cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Підписатися'"
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_newsletter_form_order_idx": {
|
||
"name": "_pages_v_blocks_newsletter_form_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_newsletter_form_parent_id_idx": {
|
||
"name": "_pages_v_blocks_newsletter_form_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_newsletter_form_path_idx": {
|
||
"name": "_pages_v_blocks_newsletter_form_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_newsletter_form_parent_id_fk": {
|
||
"name": "_pages_v_blocks_newsletter_form_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_newsletter_form",
|
||
"tableTo": "_pages_v",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_gallery_images": {
|
||
"name": "_pages_v_blocks_gallery_images",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"image_id": {
|
||
"name": "image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"caption": {
|
||
"name": "caption",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_gallery_images_order_idx": {
|
||
"name": "_pages_v_blocks_gallery_images_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_gallery_images_parent_id_idx": {
|
||
"name": "_pages_v_blocks_gallery_images_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_gallery_images_image_idx": {
|
||
"name": "_pages_v_blocks_gallery_images_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_gallery_images_image_id_media_id_fk": {
|
||
"name": "_pages_v_blocks_gallery_images_image_id_media_id_fk",
|
||
"tableFrom": "_pages_v_blocks_gallery_images",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"_pages_v_blocks_gallery_images_parent_id_fk": {
|
||
"name": "_pages_v_blocks_gallery_images_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_gallery_images",
|
||
"tableTo": "_pages_v_blocks_gallery",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_gallery": {
|
||
"name": "_pages_v_blocks_gallery",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_gallery_order_idx": {
|
||
"name": "_pages_v_blocks_gallery_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_gallery_parent_id_idx": {
|
||
"name": "_pages_v_blocks_gallery_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_gallery_path_idx": {
|
||
"name": "_pages_v_blocks_gallery_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_gallery_parent_id_fk": {
|
||
"name": "_pages_v_blocks_gallery_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_gallery",
|
||
"tableTo": "_pages_v",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_rich_text": {
|
||
"name": "_pages_v_blocks_rich_text",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"content": {
|
||
"name": "content",
|
||
"type": "jsonb",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_rich_text_order_idx": {
|
||
"name": "_pages_v_blocks_rich_text_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_rich_text_parent_id_idx": {
|
||
"name": "_pages_v_blocks_rich_text_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_rich_text_path_idx": {
|
||
"name": "_pages_v_blocks_rich_text_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_rich_text_parent_id_fk": {
|
||
"name": "_pages_v_blocks_rich_text_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_rich_text",
|
||
"tableTo": "_pages_v",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_image_block": {
|
||
"name": "_pages_v_blocks_image_block",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"image_id": {
|
||
"name": "image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"caption": {
|
||
"name": "caption",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"full_width": {
|
||
"name": "full_width",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": false
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_image_block_order_idx": {
|
||
"name": "_pages_v_blocks_image_block_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_image_block_parent_id_idx": {
|
||
"name": "_pages_v_blocks_image_block_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_image_block_path_idx": {
|
||
"name": "_pages_v_blocks_image_block_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_image_block_image_idx": {
|
||
"name": "_pages_v_blocks_image_block_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_image_block_image_id_media_id_fk": {
|
||
"name": "_pages_v_blocks_image_block_image_id_media_id_fk",
|
||
"tableFrom": "_pages_v_blocks_image_block",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"_pages_v_blocks_image_block_parent_id_fk": {
|
||
"name": "_pages_v_blocks_image_block_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_image_block",
|
||
"tableTo": "_pages_v",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_video_block": {
|
||
"name": "_pages_v_blocks_video_block",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"video_url": {
|
||
"name": "video_url",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"caption": {
|
||
"name": "caption",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"autoplay": {
|
||
"name": "autoplay",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": false
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_video_block_order_idx": {
|
||
"name": "_pages_v_blocks_video_block_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_video_block_parent_id_idx": {
|
||
"name": "_pages_v_blocks_video_block_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_video_block_path_idx": {
|
||
"name": "_pages_v_blocks_video_block_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_video_block_parent_id_fk": {
|
||
"name": "_pages_v_blocks_video_block_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_video_block",
|
||
"tableTo": "_pages_v",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_lead_form": {
|
||
"name": "_pages_v_blocks_lead_form",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"subtitle": {
|
||
"name": "subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"form_source": {
|
||
"name": "form_source",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"show_phone": {
|
||
"name": "show_phone",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": true
|
||
},
|
||
"show_email": {
|
||
"name": "show_email",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": false
|
||
},
|
||
"cta_label": {
|
||
"name": "cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Відправити'"
|
||
},
|
||
"success_message": {
|
||
"name": "success_message",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Дякуємо! Ми зв''яжемося з вами найближчим часом.'"
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_lead_form_order_idx": {
|
||
"name": "_pages_v_blocks_lead_form_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_lead_form_parent_id_idx": {
|
||
"name": "_pages_v_blocks_lead_form_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_lead_form_path_idx": {
|
||
"name": "_pages_v_blocks_lead_form_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_lead_form_parent_id_fk": {
|
||
"name": "_pages_v_blocks_lead_form_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_lead_form",
|
||
"tableTo": "_pages_v",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_pricing_block": {
|
||
"name": "_pages_v_blocks_pricing_block",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"subtitle": {
|
||
"name": "subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"show_only_visible": {
|
||
"name": "show_only_visible",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": true
|
||
},
|
||
"cta_label": {
|
||
"name": "cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Купити квиток'"
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_pricing_block_order_idx": {
|
||
"name": "_pages_v_blocks_pricing_block_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_pricing_block_parent_id_idx": {
|
||
"name": "_pages_v_blocks_pricing_block_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_pricing_block_path_idx": {
|
||
"name": "_pages_v_blocks_pricing_block_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_pricing_block_parent_id_fk": {
|
||
"name": "_pages_v_blocks_pricing_block_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_pricing_block",
|
||
"tableTo": "_pages_v",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v_blocks_cta": {
|
||
"name": "_pages_v_blocks_cta",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_path": {
|
||
"name": "_path",
|
||
"type": "text",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"subtitle": {
|
||
"name": "subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_label": {
|
||
"name": "cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_href": {
|
||
"name": "cta_href",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"variant": {
|
||
"name": "variant",
|
||
"type": "enum__pages_v_blocks_cta_variant",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'primary'"
|
||
},
|
||
"_uuid": {
|
||
"name": "_uuid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"block_name": {
|
||
"name": "block_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_blocks_cta_order_idx": {
|
||
"name": "_pages_v_blocks_cta_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_cta_parent_id_idx": {
|
||
"name": "_pages_v_blocks_cta_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_blocks_cta_path_idx": {
|
||
"name": "_pages_v_blocks_cta_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_blocks_cta_parent_id_fk": {
|
||
"name": "_pages_v_blocks_cta_parent_id_fk",
|
||
"tableFrom": "_pages_v_blocks_cta",
|
||
"tableTo": "_pages_v",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._pages_v": {
|
||
"name": "_pages_v",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"parent_id": {
|
||
"name": "parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_title": {
|
||
"name": "version_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_slug": {
|
||
"name": "version_slug",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_status": {
|
||
"name": "version_status",
|
||
"type": "enum__pages_v_version_status",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'draft'"
|
||
},
|
||
"version_meta_title": {
|
||
"name": "version_meta_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_meta_description": {
|
||
"name": "version_meta_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_meta_image_id": {
|
||
"name": "version_meta_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_updated_at": {
|
||
"name": "version_updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_created_at": {
|
||
"name": "version_created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version__status": {
|
||
"name": "version__status",
|
||
"type": "enum__pages_v_version_status",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'draft'"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"latest": {
|
||
"name": "latest",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_pages_v_parent_idx": {
|
||
"name": "_pages_v_parent_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_version_version_slug_idx": {
|
||
"name": "_pages_v_version_version_slug_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "version_slug",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_version_meta_version_meta_image_idx": {
|
||
"name": "_pages_v_version_meta_version_meta_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "version_meta_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_version_version_updated_at_idx": {
|
||
"name": "_pages_v_version_version_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "version_updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_version_version_created_at_idx": {
|
||
"name": "_pages_v_version_version_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "version_created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_version_version__status_idx": {
|
||
"name": "_pages_v_version_version__status_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "version__status",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_created_at_idx": {
|
||
"name": "_pages_v_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_updated_at_idx": {
|
||
"name": "_pages_v_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_pages_v_latest_idx": {
|
||
"name": "_pages_v_latest_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "latest",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_pages_v_parent_id_pages_id_fk": {
|
||
"name": "_pages_v_parent_id_pages_id_fk",
|
||
"tableFrom": "_pages_v",
|
||
"tableTo": "pages",
|
||
"columnsFrom": ["parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"_pages_v_version_meta_image_id_media_id_fk": {
|
||
"name": "_pages_v_version_meta_image_id_media_id_fk",
|
||
"tableFrom": "_pages_v",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["version_meta_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.blog_posts": {
|
||
"name": "blog_posts",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"slug": {
|
||
"name": "slug",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"published_at": {
|
||
"name": "published_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"hero_id": {
|
||
"name": "hero_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"body": {
|
||
"name": "body",
|
||
"type": "jsonb",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"excerpt": {
|
||
"name": "excerpt",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"status": {
|
||
"name": "status",
|
||
"type": "enum_blog_posts_status",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'draft'"
|
||
},
|
||
"meta_title": {
|
||
"name": "meta_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_description": {
|
||
"name": "meta_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_image_id": {
|
||
"name": "meta_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"_status": {
|
||
"name": "_status",
|
||
"type": "enum_blog_posts_status",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'draft'"
|
||
}
|
||
},
|
||
"indexes": {
|
||
"blog_posts_slug_idx": {
|
||
"name": "blog_posts_slug_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "slug",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": true,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"blog_posts_hero_idx": {
|
||
"name": "blog_posts_hero_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "hero_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"blog_posts_meta_meta_image_idx": {
|
||
"name": "blog_posts_meta_meta_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "meta_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"blog_posts_updated_at_idx": {
|
||
"name": "blog_posts_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"blog_posts_created_at_idx": {
|
||
"name": "blog_posts_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"blog_posts__status_idx": {
|
||
"name": "blog_posts__status_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_status",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"blog_posts_hero_id_media_id_fk": {
|
||
"name": "blog_posts_hero_id_media_id_fk",
|
||
"tableFrom": "blog_posts",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["hero_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"blog_posts_meta_image_id_media_id_fk": {
|
||
"name": "blog_posts_meta_image_id_media_id_fk",
|
||
"tableFrom": "blog_posts",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["meta_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.blog_posts_rels": {
|
||
"name": "blog_posts_rels",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"order": {
|
||
"name": "order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"parent_id": {
|
||
"name": "parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"path": {
|
||
"name": "path",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"categories_id": {
|
||
"name": "categories_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"tags_id": {
|
||
"name": "tags_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"blog_posts_rels_order_idx": {
|
||
"name": "blog_posts_rels_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"blog_posts_rels_parent_idx": {
|
||
"name": "blog_posts_rels_parent_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"blog_posts_rels_path_idx": {
|
||
"name": "blog_posts_rels_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"blog_posts_rels_categories_id_idx": {
|
||
"name": "blog_posts_rels_categories_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "categories_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"blog_posts_rels_tags_id_idx": {
|
||
"name": "blog_posts_rels_tags_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "tags_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"blog_posts_rels_parent_fk": {
|
||
"name": "blog_posts_rels_parent_fk",
|
||
"tableFrom": "blog_posts_rels",
|
||
"tableTo": "blog_posts",
|
||
"columnsFrom": ["parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"blog_posts_rels_categories_fk": {
|
||
"name": "blog_posts_rels_categories_fk",
|
||
"tableFrom": "blog_posts_rels",
|
||
"tableTo": "categories",
|
||
"columnsFrom": ["categories_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"blog_posts_rels_tags_fk": {
|
||
"name": "blog_posts_rels_tags_fk",
|
||
"tableFrom": "blog_posts_rels",
|
||
"tableTo": "tags",
|
||
"columnsFrom": ["tags_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._blog_posts_v": {
|
||
"name": "_blog_posts_v",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"parent_id": {
|
||
"name": "parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_title": {
|
||
"name": "version_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_slug": {
|
||
"name": "version_slug",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_published_at": {
|
||
"name": "version_published_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_hero_id": {
|
||
"name": "version_hero_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_body": {
|
||
"name": "version_body",
|
||
"type": "jsonb",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_excerpt": {
|
||
"name": "version_excerpt",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_status": {
|
||
"name": "version_status",
|
||
"type": "enum__blog_posts_v_version_status",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'draft'"
|
||
},
|
||
"version_meta_title": {
|
||
"name": "version_meta_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_meta_description": {
|
||
"name": "version_meta_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_meta_image_id": {
|
||
"name": "version_meta_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_updated_at": {
|
||
"name": "version_updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version_created_at": {
|
||
"name": "version_created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"version__status": {
|
||
"name": "version__status",
|
||
"type": "enum__blog_posts_v_version_status",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'draft'"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"latest": {
|
||
"name": "latest",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_blog_posts_v_parent_idx": {
|
||
"name": "_blog_posts_v_parent_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_blog_posts_v_version_version_slug_idx": {
|
||
"name": "_blog_posts_v_version_version_slug_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "version_slug",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_blog_posts_v_version_version_hero_idx": {
|
||
"name": "_blog_posts_v_version_version_hero_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "version_hero_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_blog_posts_v_version_meta_version_meta_image_idx": {
|
||
"name": "_blog_posts_v_version_meta_version_meta_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "version_meta_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_blog_posts_v_version_version_updated_at_idx": {
|
||
"name": "_blog_posts_v_version_version_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "version_updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_blog_posts_v_version_version_created_at_idx": {
|
||
"name": "_blog_posts_v_version_version_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "version_created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_blog_posts_v_version_version__status_idx": {
|
||
"name": "_blog_posts_v_version_version__status_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "version__status",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_blog_posts_v_created_at_idx": {
|
||
"name": "_blog_posts_v_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_blog_posts_v_updated_at_idx": {
|
||
"name": "_blog_posts_v_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_blog_posts_v_latest_idx": {
|
||
"name": "_blog_posts_v_latest_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "latest",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_blog_posts_v_parent_id_blog_posts_id_fk": {
|
||
"name": "_blog_posts_v_parent_id_blog_posts_id_fk",
|
||
"tableFrom": "_blog_posts_v",
|
||
"tableTo": "blog_posts",
|
||
"columnsFrom": ["parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"_blog_posts_v_version_hero_id_media_id_fk": {
|
||
"name": "_blog_posts_v_version_hero_id_media_id_fk",
|
||
"tableFrom": "_blog_posts_v",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["version_hero_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"_blog_posts_v_version_meta_image_id_media_id_fk": {
|
||
"name": "_blog_posts_v_version_meta_image_id_media_id_fk",
|
||
"tableFrom": "_blog_posts_v",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["version_meta_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public._blog_posts_v_rels": {
|
||
"name": "_blog_posts_v_rels",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"order": {
|
||
"name": "order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"parent_id": {
|
||
"name": "parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"path": {
|
||
"name": "path",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"categories_id": {
|
||
"name": "categories_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"tags_id": {
|
||
"name": "tags_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"_blog_posts_v_rels_order_idx": {
|
||
"name": "_blog_posts_v_rels_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_blog_posts_v_rels_parent_idx": {
|
||
"name": "_blog_posts_v_rels_parent_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_blog_posts_v_rels_path_idx": {
|
||
"name": "_blog_posts_v_rels_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_blog_posts_v_rels_categories_id_idx": {
|
||
"name": "_blog_posts_v_rels_categories_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "categories_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"_blog_posts_v_rels_tags_id_idx": {
|
||
"name": "_blog_posts_v_rels_tags_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "tags_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"_blog_posts_v_rels_parent_fk": {
|
||
"name": "_blog_posts_v_rels_parent_fk",
|
||
"tableFrom": "_blog_posts_v_rels",
|
||
"tableTo": "_blog_posts_v",
|
||
"columnsFrom": ["parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"_blog_posts_v_rels_categories_fk": {
|
||
"name": "_blog_posts_v_rels_categories_fk",
|
||
"tableFrom": "_blog_posts_v_rels",
|
||
"tableTo": "categories",
|
||
"columnsFrom": ["categories_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"_blog_posts_v_rels_tags_fk": {
|
||
"name": "_blog_posts_v_rels_tags_fk",
|
||
"tableFrom": "_blog_posts_v_rels",
|
||
"tableTo": "tags",
|
||
"columnsFrom": ["tags_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.categories": {
|
||
"name": "categories",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"name": {
|
||
"name": "name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"slug": {
|
||
"name": "slug",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
}
|
||
},
|
||
"indexes": {
|
||
"categories_slug_idx": {
|
||
"name": "categories_slug_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "slug",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": true,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"categories_updated_at_idx": {
|
||
"name": "categories_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"categories_created_at_idx": {
|
||
"name": "categories_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.tags": {
|
||
"name": "tags",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"name": {
|
||
"name": "name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"slug": {
|
||
"name": "slug",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
}
|
||
},
|
||
"indexes": {
|
||
"tags_slug_idx": {
|
||
"name": "tags_slug_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "slug",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": true,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"tags_updated_at_idx": {
|
||
"name": "tags_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"tags_created_at_idx": {
|
||
"name": "tags_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.tariffs": {
|
||
"name": "tariffs",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"ezy_id": {
|
||
"name": "ezy_id",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"display_name": {
|
||
"name": "display_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"description": {
|
||
"name": "description",
|
||
"type": "jsonb",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"image_id": {
|
||
"name": "image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"icon": {
|
||
"name": "icon",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"category_tag": {
|
||
"name": "category_tag",
|
||
"type": "enum_tariffs_category_tag",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"sort": {
|
||
"name": "sort",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": 0
|
||
},
|
||
"visible": {
|
||
"name": "visible",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": true
|
||
},
|
||
"last_synced_name": {
|
||
"name": "last_synced_name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"last_synced_price": {
|
||
"name": "last_synced_price",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"last_synced_at": {
|
||
"name": "last_synced_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
}
|
||
},
|
||
"indexes": {
|
||
"tariffs_ezy_id_idx": {
|
||
"name": "tariffs_ezy_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "ezy_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": true,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"tariffs_image_idx": {
|
||
"name": "tariffs_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"tariffs_updated_at_idx": {
|
||
"name": "tariffs_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"tariffs_created_at_idx": {
|
||
"name": "tariffs_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"tariffs_image_id_media_id_fk": {
|
||
"name": "tariffs_image_id_media_id_fk",
|
||
"tableFrom": "tariffs",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.leads": {
|
||
"name": "leads",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"name": {
|
||
"name": "name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"phone": {
|
||
"name": "phone",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"email": {
|
||
"name": "email",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"form_source": {
|
||
"name": "form_source",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"utm_source": {
|
||
"name": "utm_source",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"utm_medium": {
|
||
"name": "utm_medium",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"utm_campaign": {
|
||
"name": "utm_campaign",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"utm_content": {
|
||
"name": "utm_content",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"utm_term": {
|
||
"name": "utm_term",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"gclid": {
|
||
"name": "gclid",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"status": {
|
||
"name": "status",
|
||
"type": "enum_leads_status",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'new'"
|
||
},
|
||
"message": {
|
||
"name": "message",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"group_size": {
|
||
"name": "group_size",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"preferred_date": {
|
||
"name": "preferred_date",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"package_slug": {
|
||
"name": "package_slug",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"notes": {
|
||
"name": "notes",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"last_call_at": {
|
||
"name": "last_call_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
}
|
||
},
|
||
"indexes": {
|
||
"leads_updated_at_idx": {
|
||
"name": "leads_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"leads_created_at_idx": {
|
||
"name": "leads_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.orders_items": {
|
||
"name": "orders_items",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"tariff_id": {
|
||
"name": "tariff_id",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"count": {
|
||
"name": "count",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
}
|
||
},
|
||
"indexes": {
|
||
"orders_items_order_idx": {
|
||
"name": "orders_items_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"orders_items_parent_id_idx": {
|
||
"name": "orders_items_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"orders_items_parent_id_fk": {
|
||
"name": "orders_items_parent_id_fk",
|
||
"tableFrom": "orders_items",
|
||
"tableTo": "orders",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.orders": {
|
||
"name": "orders",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"name": {
|
||
"name": "name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"phone": {
|
||
"name": "phone",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"email": {
|
||
"name": "email",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"amount": {
|
||
"name": "amount",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"monobank_url": {
|
||
"name": "monobank_url",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"status": {
|
||
"name": "status",
|
||
"type": "enum_orders_status",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'redirected_to_payment'"
|
||
},
|
||
"ezy_activity": {
|
||
"name": "ezy_activity",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
}
|
||
},
|
||
"indexes": {
|
||
"orders_updated_at_idx": {
|
||
"name": "orders_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"orders_created_at_idx": {
|
||
"name": "orders_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.locations_gallery": {
|
||
"name": "locations_gallery",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"image_id": {
|
||
"name": "image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"locations_gallery_order_idx": {
|
||
"name": "locations_gallery_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"locations_gallery_parent_id_idx": {
|
||
"name": "locations_gallery_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"locations_gallery_image_idx": {
|
||
"name": "locations_gallery_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"locations_gallery_image_id_media_id_fk": {
|
||
"name": "locations_gallery_image_id_media_id_fk",
|
||
"tableFrom": "locations_gallery",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"locations_gallery_parent_id_fk": {
|
||
"name": "locations_gallery_parent_id_fk",
|
||
"tableFrom": "locations_gallery",
|
||
"tableTo": "locations",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.locations": {
|
||
"name": "locations",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"name": {
|
||
"name": "name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"slug": {
|
||
"name": "slug",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"tagline": {
|
||
"name": "tagline",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"short_desc": {
|
||
"name": "short_desc",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"description": {
|
||
"name": "description",
|
||
"type": "jsonb",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"image_id": {
|
||
"name": "image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"href": {
|
||
"name": "href",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"show_in_menu": {
|
||
"name": "show_in_menu",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": true
|
||
},
|
||
"show_on_home": {
|
||
"name": "show_on_home",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": true
|
||
},
|
||
"sort": {
|
||
"name": "sort",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": 0
|
||
},
|
||
"meta_title": {
|
||
"name": "meta_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_description": {
|
||
"name": "meta_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_image_id": {
|
||
"name": "meta_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
}
|
||
},
|
||
"indexes": {
|
||
"locations_slug_idx": {
|
||
"name": "locations_slug_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "slug",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": true,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"locations_image_idx": {
|
||
"name": "locations_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"locations_meta_meta_image_idx": {
|
||
"name": "locations_meta_meta_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "meta_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"locations_updated_at_idx": {
|
||
"name": "locations_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"locations_created_at_idx": {
|
||
"name": "locations_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"locations_image_id_media_id_fk": {
|
||
"name": "locations_image_id_media_id_fk",
|
||
"tableFrom": "locations",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"locations_meta_image_id_media_id_fk": {
|
||
"name": "locations_meta_image_id_media_id_fk",
|
||
"tableFrom": "locations",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["meta_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.reviews": {
|
||
"name": "reviews",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"name": {
|
||
"name": "name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"initial": {
|
||
"name": "initial",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"avatar_bg_id": {
|
||
"name": "avatar_bg_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"ago": {
|
||
"name": "ago",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"rating": {
|
||
"name": "rating",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": 5
|
||
},
|
||
"text": {
|
||
"name": "text",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"source": {
|
||
"name": "source",
|
||
"type": "enum_reviews_source",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'google'"
|
||
},
|
||
"video_url": {
|
||
"name": "video_url",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"video_poster": {
|
||
"name": "video_poster",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"show_on_home": {
|
||
"name": "show_on_home",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": true
|
||
},
|
||
"sort": {
|
||
"name": "sort",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": 0
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
}
|
||
},
|
||
"indexes": {
|
||
"reviews_avatar_bg_idx": {
|
||
"name": "reviews_avatar_bg_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "avatar_bg_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"reviews_updated_at_idx": {
|
||
"name": "reviews_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"reviews_created_at_idx": {
|
||
"name": "reviews_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"reviews_avatar_bg_id_media_id_fk": {
|
||
"name": "reviews_avatar_bg_id_media_id_fk",
|
||
"tableFrom": "reviews",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["avatar_bg_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.birthday_packages_features": {
|
||
"name": "birthday_packages_features",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"text": {
|
||
"name": "text",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
}
|
||
},
|
||
"indexes": {
|
||
"birthday_packages_features_order_idx": {
|
||
"name": "birthday_packages_features_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"birthday_packages_features_parent_id_idx": {
|
||
"name": "birthday_packages_features_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"birthday_packages_features_parent_id_fk": {
|
||
"name": "birthday_packages_features_parent_id_fk",
|
||
"tableFrom": "birthday_packages_features",
|
||
"tableTo": "birthday_packages",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.birthday_packages": {
|
||
"name": "birthday_packages",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"name": {
|
||
"name": "name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"slug": {
|
||
"name": "slug",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"price": {
|
||
"name": "price",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"currency": {
|
||
"name": "currency",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'₴'"
|
||
},
|
||
"price_label": {
|
||
"name": "price_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"featured": {
|
||
"name": "featured",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": false
|
||
},
|
||
"badge": {
|
||
"name": "badge",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_label": {
|
||
"name": "cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Обрати пакет'"
|
||
},
|
||
"cta_href": {
|
||
"name": "cta_href",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"sort": {
|
||
"name": "sort",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": 0
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
}
|
||
},
|
||
"indexes": {
|
||
"birthday_packages_slug_idx": {
|
||
"name": "birthday_packages_slug_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "slug",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": true,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"birthday_packages_updated_at_idx": {
|
||
"name": "birthday_packages_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"birthday_packages_created_at_idx": {
|
||
"name": "birthday_packages_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.payload_kv": {
|
||
"name": "payload_kv",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"key": {
|
||
"name": "key",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"data": {
|
||
"name": "data",
|
||
"type": "jsonb",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
}
|
||
},
|
||
"indexes": {
|
||
"payload_kv_key_idx": {
|
||
"name": "payload_kv_key_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "key",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": true,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.payload_locked_documents": {
|
||
"name": "payload_locked_documents",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"global_slug": {
|
||
"name": "global_slug",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
}
|
||
},
|
||
"indexes": {
|
||
"payload_locked_documents_global_slug_idx": {
|
||
"name": "payload_locked_documents_global_slug_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "global_slug",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_updated_at_idx": {
|
||
"name": "payload_locked_documents_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_created_at_idx": {
|
||
"name": "payload_locked_documents_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.payload_locked_documents_rels": {
|
||
"name": "payload_locked_documents_rels",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"order": {
|
||
"name": "order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"parent_id": {
|
||
"name": "parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"path": {
|
||
"name": "path",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"users_id": {
|
||
"name": "users_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"media_id": {
|
||
"name": "media_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"pages_id": {
|
||
"name": "pages_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"blog_posts_id": {
|
||
"name": "blog_posts_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"categories_id": {
|
||
"name": "categories_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"tags_id": {
|
||
"name": "tags_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"tariffs_id": {
|
||
"name": "tariffs_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"leads_id": {
|
||
"name": "leads_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"orders_id": {
|
||
"name": "orders_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"locations_id": {
|
||
"name": "locations_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"reviews_id": {
|
||
"name": "reviews_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"birthday_packages_id": {
|
||
"name": "birthday_packages_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"payload_locked_documents_rels_order_idx": {
|
||
"name": "payload_locked_documents_rels_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_rels_parent_idx": {
|
||
"name": "payload_locked_documents_rels_parent_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_rels_path_idx": {
|
||
"name": "payload_locked_documents_rels_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_rels_users_id_idx": {
|
||
"name": "payload_locked_documents_rels_users_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "users_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_rels_media_id_idx": {
|
||
"name": "payload_locked_documents_rels_media_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "media_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_rels_pages_id_idx": {
|
||
"name": "payload_locked_documents_rels_pages_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "pages_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_rels_blog_posts_id_idx": {
|
||
"name": "payload_locked_documents_rels_blog_posts_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "blog_posts_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_rels_categories_id_idx": {
|
||
"name": "payload_locked_documents_rels_categories_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "categories_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_rels_tags_id_idx": {
|
||
"name": "payload_locked_documents_rels_tags_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "tags_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_rels_tariffs_id_idx": {
|
||
"name": "payload_locked_documents_rels_tariffs_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "tariffs_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_rels_leads_id_idx": {
|
||
"name": "payload_locked_documents_rels_leads_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "leads_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_rels_orders_id_idx": {
|
||
"name": "payload_locked_documents_rels_orders_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "orders_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_rels_locations_id_idx": {
|
||
"name": "payload_locked_documents_rels_locations_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "locations_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_rels_reviews_id_idx": {
|
||
"name": "payload_locked_documents_rels_reviews_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "reviews_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_locked_documents_rels_birthday_packages_id_idx": {
|
||
"name": "payload_locked_documents_rels_birthday_packages_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "birthday_packages_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"payload_locked_documents_rels_parent_fk": {
|
||
"name": "payload_locked_documents_rels_parent_fk",
|
||
"tableFrom": "payload_locked_documents_rels",
|
||
"tableTo": "payload_locked_documents",
|
||
"columnsFrom": ["parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"payload_locked_documents_rels_users_fk": {
|
||
"name": "payload_locked_documents_rels_users_fk",
|
||
"tableFrom": "payload_locked_documents_rels",
|
||
"tableTo": "users",
|
||
"columnsFrom": ["users_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"payload_locked_documents_rels_media_fk": {
|
||
"name": "payload_locked_documents_rels_media_fk",
|
||
"tableFrom": "payload_locked_documents_rels",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["media_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"payload_locked_documents_rels_pages_fk": {
|
||
"name": "payload_locked_documents_rels_pages_fk",
|
||
"tableFrom": "payload_locked_documents_rels",
|
||
"tableTo": "pages",
|
||
"columnsFrom": ["pages_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"payload_locked_documents_rels_blog_posts_fk": {
|
||
"name": "payload_locked_documents_rels_blog_posts_fk",
|
||
"tableFrom": "payload_locked_documents_rels",
|
||
"tableTo": "blog_posts",
|
||
"columnsFrom": ["blog_posts_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"payload_locked_documents_rels_categories_fk": {
|
||
"name": "payload_locked_documents_rels_categories_fk",
|
||
"tableFrom": "payload_locked_documents_rels",
|
||
"tableTo": "categories",
|
||
"columnsFrom": ["categories_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"payload_locked_documents_rels_tags_fk": {
|
||
"name": "payload_locked_documents_rels_tags_fk",
|
||
"tableFrom": "payload_locked_documents_rels",
|
||
"tableTo": "tags",
|
||
"columnsFrom": ["tags_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"payload_locked_documents_rels_tariffs_fk": {
|
||
"name": "payload_locked_documents_rels_tariffs_fk",
|
||
"tableFrom": "payload_locked_documents_rels",
|
||
"tableTo": "tariffs",
|
||
"columnsFrom": ["tariffs_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"payload_locked_documents_rels_leads_fk": {
|
||
"name": "payload_locked_documents_rels_leads_fk",
|
||
"tableFrom": "payload_locked_documents_rels",
|
||
"tableTo": "leads",
|
||
"columnsFrom": ["leads_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"payload_locked_documents_rels_orders_fk": {
|
||
"name": "payload_locked_documents_rels_orders_fk",
|
||
"tableFrom": "payload_locked_documents_rels",
|
||
"tableTo": "orders",
|
||
"columnsFrom": ["orders_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"payload_locked_documents_rels_locations_fk": {
|
||
"name": "payload_locked_documents_rels_locations_fk",
|
||
"tableFrom": "payload_locked_documents_rels",
|
||
"tableTo": "locations",
|
||
"columnsFrom": ["locations_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"payload_locked_documents_rels_reviews_fk": {
|
||
"name": "payload_locked_documents_rels_reviews_fk",
|
||
"tableFrom": "payload_locked_documents_rels",
|
||
"tableTo": "reviews",
|
||
"columnsFrom": ["reviews_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"payload_locked_documents_rels_birthday_packages_fk": {
|
||
"name": "payload_locked_documents_rels_birthday_packages_fk",
|
||
"tableFrom": "payload_locked_documents_rels",
|
||
"tableTo": "birthday_packages",
|
||
"columnsFrom": ["birthday_packages_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.payload_preferences": {
|
||
"name": "payload_preferences",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"key": {
|
||
"name": "key",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"value": {
|
||
"name": "value",
|
||
"type": "jsonb",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
}
|
||
},
|
||
"indexes": {
|
||
"payload_preferences_key_idx": {
|
||
"name": "payload_preferences_key_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "key",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_preferences_updated_at_idx": {
|
||
"name": "payload_preferences_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_preferences_created_at_idx": {
|
||
"name": "payload_preferences_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.payload_preferences_rels": {
|
||
"name": "payload_preferences_rels",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"order": {
|
||
"name": "order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"parent_id": {
|
||
"name": "parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"path": {
|
||
"name": "path",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"users_id": {
|
||
"name": "users_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"payload_preferences_rels_order_idx": {
|
||
"name": "payload_preferences_rels_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_preferences_rels_parent_idx": {
|
||
"name": "payload_preferences_rels_parent_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_preferences_rels_path_idx": {
|
||
"name": "payload_preferences_rels_path_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "path",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_preferences_rels_users_id_idx": {
|
||
"name": "payload_preferences_rels_users_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "users_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"payload_preferences_rels_parent_fk": {
|
||
"name": "payload_preferences_rels_parent_fk",
|
||
"tableFrom": "payload_preferences_rels",
|
||
"tableTo": "payload_preferences",
|
||
"columnsFrom": ["parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
},
|
||
"payload_preferences_rels_users_fk": {
|
||
"name": "payload_preferences_rels_users_fk",
|
||
"tableFrom": "payload_preferences_rels",
|
||
"tableTo": "users",
|
||
"columnsFrom": ["users_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.payload_migrations": {
|
||
"name": "payload_migrations",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"name": {
|
||
"name": "name",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"batch": {
|
||
"name": "batch",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": true,
|
||
"default": "now()"
|
||
}
|
||
},
|
||
"indexes": {
|
||
"payload_migrations_updated_at_idx": {
|
||
"name": "payload_migrations_updated_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "updated_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"payload_migrations_created_at_idx": {
|
||
"name": "payload_migrations_created_at_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "created_at",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.home_page_why_parents_items": {
|
||
"name": "home_page_why_parents_items",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"description": {
|
||
"name": "description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"home_page_why_parents_items_order_idx": {
|
||
"name": "home_page_why_parents_items_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"home_page_why_parents_items_parent_id_idx": {
|
||
"name": "home_page_why_parents_items_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"home_page_why_parents_items_parent_id_fk": {
|
||
"name": "home_page_why_parents_items_parent_id_fk",
|
||
"tableFrom": "home_page_why_parents_items",
|
||
"tableTo": "home_page",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.home_page_why_parents_side_gallery": {
|
||
"name": "home_page_why_parents_side_gallery",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"image_id": {
|
||
"name": "image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"home_page_why_parents_side_gallery_order_idx": {
|
||
"name": "home_page_why_parents_side_gallery_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"home_page_why_parents_side_gallery_parent_id_idx": {
|
||
"name": "home_page_why_parents_side_gallery_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"home_page_why_parents_side_gallery_image_idx": {
|
||
"name": "home_page_why_parents_side_gallery_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"home_page_why_parents_side_gallery_image_id_media_id_fk": {
|
||
"name": "home_page_why_parents_side_gallery_image_id_media_id_fk",
|
||
"tableFrom": "home_page_why_parents_side_gallery",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"home_page_why_parents_side_gallery_parent_id_fk": {
|
||
"name": "home_page_why_parents_side_gallery_parent_id_fk",
|
||
"tableFrom": "home_page_why_parents_side_gallery",
|
||
"tableTo": "home_page",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.home_page_gallery_images": {
|
||
"name": "home_page_gallery_images",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"image_id": {
|
||
"name": "image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"alt": {
|
||
"name": "alt",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"home_page_gallery_images_order_idx": {
|
||
"name": "home_page_gallery_images_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"home_page_gallery_images_parent_id_idx": {
|
||
"name": "home_page_gallery_images_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"home_page_gallery_images_image_idx": {
|
||
"name": "home_page_gallery_images_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"home_page_gallery_images_image_id_media_id_fk": {
|
||
"name": "home_page_gallery_images_image_id_media_id_fk",
|
||
"tableFrom": "home_page_gallery_images",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"home_page_gallery_images_parent_id_fk": {
|
||
"name": "home_page_gallery_images_parent_id_fk",
|
||
"tableFrom": "home_page_gallery_images",
|
||
"tableTo": "home_page",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.home_page": {
|
||
"name": "home_page",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"hero_title": {
|
||
"name": "hero_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"hero_subtitle": {
|
||
"name": "hero_subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"hero_cta_label": {
|
||
"name": "hero_cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"hero_cta_href": {
|
||
"name": "hero_cta_href",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"hero_background_video": {
|
||
"name": "hero_background_video",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"hero_background_image_id": {
|
||
"name": "hero_background_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"hero_foreground_overlay_id": {
|
||
"name": "hero_foreground_overlay_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"hero_silhouette_overlay_id": {
|
||
"name": "hero_silhouette_overlay_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"page_hero_background_image_id": {
|
||
"name": "page_hero_background_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"section_titles_locations": {
|
||
"name": "section_titles_locations",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"section_titles_why_parents": {
|
||
"name": "section_titles_why_parents",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"section_titles_birthday": {
|
||
"name": "section_titles_birthday",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"section_titles_gallery": {
|
||
"name": "section_titles_gallery",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"section_titles_reviews": {
|
||
"name": "section_titles_reviews",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"section_titles_news": {
|
||
"name": "section_titles_news",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"video_poster_id": {
|
||
"name": "video_poster_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"video_src": {
|
||
"name": "video_src",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"birthday_intro_text": {
|
||
"name": "birthday_intro_text",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"news_title": {
|
||
"name": "news_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"news_subtitle": {
|
||
"name": "news_subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"news_limit": {
|
||
"name": "news_limit",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": 3
|
||
},
|
||
"map_embed_url": {
|
||
"name": "map_embed_url",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"map_address": {
|
||
"name": "map_address",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"map_lat": {
|
||
"name": "map_lat",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"map_lng": {
|
||
"name": "map_lng",
|
||
"type": "numeric",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_title": {
|
||
"name": "meta_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_description": {
|
||
"name": "meta_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_image_id": {
|
||
"name": "meta_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"home_page_hero_hero_background_image_idx": {
|
||
"name": "home_page_hero_hero_background_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "hero_background_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"home_page_hero_hero_foreground_overlay_idx": {
|
||
"name": "home_page_hero_hero_foreground_overlay_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "hero_foreground_overlay_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"home_page_hero_hero_silhouette_overlay_idx": {
|
||
"name": "home_page_hero_hero_silhouette_overlay_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "hero_silhouette_overlay_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"home_page_page_hero_page_hero_background_image_idx": {
|
||
"name": "home_page_page_hero_page_hero_background_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "page_hero_background_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"home_page_video_video_poster_idx": {
|
||
"name": "home_page_video_video_poster_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "video_poster_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"home_page_meta_meta_image_idx": {
|
||
"name": "home_page_meta_meta_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "meta_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"home_page_hero_background_image_id_media_id_fk": {
|
||
"name": "home_page_hero_background_image_id_media_id_fk",
|
||
"tableFrom": "home_page",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["hero_background_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"home_page_hero_foreground_overlay_id_media_id_fk": {
|
||
"name": "home_page_hero_foreground_overlay_id_media_id_fk",
|
||
"tableFrom": "home_page",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["hero_foreground_overlay_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"home_page_hero_silhouette_overlay_id_media_id_fk": {
|
||
"name": "home_page_hero_silhouette_overlay_id_media_id_fk",
|
||
"tableFrom": "home_page",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["hero_silhouette_overlay_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"home_page_page_hero_background_image_id_media_id_fk": {
|
||
"name": "home_page_page_hero_background_image_id_media_id_fk",
|
||
"tableFrom": "home_page",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["page_hero_background_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"home_page_video_poster_id_media_id_fk": {
|
||
"name": "home_page_video_poster_id_media_id_fk",
|
||
"tableFrom": "home_page",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["video_poster_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"home_page_meta_image_id_media_id_fk": {
|
||
"name": "home_page_meta_image_id_media_id_fk",
|
||
"tableFrom": "home_page",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["meta_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.checkout_page": {
|
||
"name": "checkout_page",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Оформлення замовлення'"
|
||
},
|
||
"instructions": {
|
||
"name": "instructions",
|
||
"type": "jsonb",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"terms": {
|
||
"name": "terms",
|
||
"type": "jsonb",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_title": {
|
||
"name": "meta_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_description": {
|
||
"name": "meta_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_image_id": {
|
||
"name": "meta_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"checkout_page_meta_meta_image_idx": {
|
||
"name": "checkout_page_meta_meta_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "meta_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"checkout_page_meta_image_id_media_id_fk": {
|
||
"name": "checkout_page_meta_image_id_media_id_fk",
|
||
"tableFrom": "checkout_page",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["meta_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.thank_you_page": {
|
||
"name": "thank_you_page",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Дякуємо за замовлення!'"
|
||
},
|
||
"message": {
|
||
"name": "message",
|
||
"type": "jsonb",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"contact_phone": {
|
||
"name": "contact_phone",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'+380 (67) 000-00-00'"
|
||
},
|
||
"contact_email": {
|
||
"name": "contact_email",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_title": {
|
||
"name": "meta_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_description": {
|
||
"name": "meta_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_image_id": {
|
||
"name": "meta_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"thank_you_page_meta_meta_image_idx": {
|
||
"name": "thank_you_page_meta_meta_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "meta_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"thank_you_page_meta_image_id_media_id_fk": {
|
||
"name": "thank_you_page_meta_image_id_media_id_fk",
|
||
"tableFrom": "thank_you_page",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["meta_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.header_nav_links_children": {
|
||
"name": "header_nav_links_children",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"label": {
|
||
"name": "label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"href": {
|
||
"name": "href",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"header_nav_links_children_order_idx": {
|
||
"name": "header_nav_links_children_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"header_nav_links_children_parent_id_idx": {
|
||
"name": "header_nav_links_children_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"header_nav_links_children_parent_id_fk": {
|
||
"name": "header_nav_links_children_parent_id_fk",
|
||
"tableFrom": "header_nav_links_children",
|
||
"tableTo": "header_nav_links",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.header_nav_links": {
|
||
"name": "header_nav_links",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"label": {
|
||
"name": "label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"href": {
|
||
"name": "href",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"open_in_new_tab": {
|
||
"name": "open_in_new_tab",
|
||
"type": "boolean",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": false
|
||
},
|
||
"auto_children_from": {
|
||
"name": "auto_children_from",
|
||
"type": "enum_header_nav_links_auto_children_from",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'none'"
|
||
}
|
||
},
|
||
"indexes": {
|
||
"header_nav_links_order_idx": {
|
||
"name": "header_nav_links_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"header_nav_links_parent_id_idx": {
|
||
"name": "header_nav_links_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"header_nav_links_parent_id_fk": {
|
||
"name": "header_nav_links_parent_id_fk",
|
||
"tableFrom": "header_nav_links",
|
||
"tableTo": "header",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.header": {
|
||
"name": "header",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"logo_id": {
|
||
"name": "logo_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"logo_alt": {
|
||
"name": "logo_alt",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_label": {
|
||
"name": "cta_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"cta_href": {
|
||
"name": "cta_href",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"header_logo_idx": {
|
||
"name": "header_logo_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "logo_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"header_logo_id_media_id_fk": {
|
||
"name": "header_logo_id_media_id_fk",
|
||
"tableFrom": "header",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["logo_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.footer_nav_links": {
|
||
"name": "footer_nav_links",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"label": {
|
||
"name": "label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"href": {
|
||
"name": "href",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"footer_nav_links_order_idx": {
|
||
"name": "footer_nav_links_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"footer_nav_links_parent_id_idx": {
|
||
"name": "footer_nav_links_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"footer_nav_links_parent_id_fk": {
|
||
"name": "footer_nav_links_parent_id_fk",
|
||
"tableFrom": "footer_nav_links",
|
||
"tableTo": "footer",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.footer_socials": {
|
||
"name": "footer_socials",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"platform": {
|
||
"name": "platform",
|
||
"type": "enum_footer_socials_platform",
|
||
"typeSchema": "public",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"url": {
|
||
"name": "url",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"footer_socials_order_idx": {
|
||
"name": "footer_socials_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"footer_socials_parent_id_idx": {
|
||
"name": "footer_socials_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"footer_socials_parent_id_fk": {
|
||
"name": "footer_socials_parent_id_fk",
|
||
"tableFrom": "footer_socials",
|
||
"tableTo": "footer",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.footer": {
|
||
"name": "footer",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"logo_id": {
|
||
"name": "logo_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"logo_alt": {
|
||
"name": "logo_alt",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"contacts_phone": {
|
||
"name": "contacts_phone",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"contacts_email": {
|
||
"name": "contacts_email",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"contacts_address": {
|
||
"name": "contacts_address",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"copyright_text": {
|
||
"name": "copyright_text",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"footer_logo_idx": {
|
||
"name": "footer_logo_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "logo_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"footer_logo_id_media_id_fk": {
|
||
"name": "footer_logo_id_media_id_fk",
|
||
"tableFrom": "footer",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["logo_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.site_settings_tariff_category_labels": {
|
||
"name": "site_settings_tariff_category_labels",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"key": {
|
||
"name": "key",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"label": {
|
||
"name": "label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
}
|
||
},
|
||
"indexes": {
|
||
"site_settings_tariff_category_labels_order_idx": {
|
||
"name": "site_settings_tariff_category_labels_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"site_settings_tariff_category_labels_parent_id_idx": {
|
||
"name": "site_settings_tariff_category_labels_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"site_settings_tariff_category_labels_parent_id_fk": {
|
||
"name": "site_settings_tariff_category_labels_parent_id_fk",
|
||
"tableFrom": "site_settings_tariff_category_labels",
|
||
"tableTo": "site_settings",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.site_settings": {
|
||
"name": "site_settings",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"ga4_id": {
|
||
"name": "ga4_id",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"binotel_id": {
|
||
"name": "binotel_id",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"telegram_chat_id": {
|
||
"name": "telegram_chat_id",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"resend_from": {
|
||
"name": "resend_from",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"default_meta_title": {
|
||
"name": "default_meta_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"default_meta_description": {
|
||
"name": "default_meta_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"default_og_image_id": {
|
||
"name": "default_og_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"site_settings_default_og_image_idx": {
|
||
"name": "site_settings_default_og_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "default_og_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"site_settings_default_og_image_id_media_id_fk": {
|
||
"name": "site_settings_default_og_image_id_media_id_fk",
|
||
"tableFrom": "site_settings",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["default_og_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.dyvolis_page_hero_tips": {
|
||
"name": "dyvolis_page_hero_tips",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"text": {
|
||
"name": "text",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
}
|
||
},
|
||
"indexes": {
|
||
"dyvolis_page_hero_tips_order_idx": {
|
||
"name": "dyvolis_page_hero_tips_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"dyvolis_page_hero_tips_parent_id_idx": {
|
||
"name": "dyvolis_page_hero_tips_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"dyvolis_page_hero_tips_parent_id_fk": {
|
||
"name": "dyvolis_page_hero_tips_parent_id_fk",
|
||
"tableFrom": "dyvolis_page_hero_tips",
|
||
"tableTo": "dyvolis_page",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.dyvolis_page_gallery_images": {
|
||
"name": "dyvolis_page_gallery_images",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"image_id": {
|
||
"name": "image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
}
|
||
},
|
||
"indexes": {
|
||
"dyvolis_page_gallery_images_order_idx": {
|
||
"name": "dyvolis_page_gallery_images_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"dyvolis_page_gallery_images_parent_id_idx": {
|
||
"name": "dyvolis_page_gallery_images_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"dyvolis_page_gallery_images_image_idx": {
|
||
"name": "dyvolis_page_gallery_images_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"dyvolis_page_gallery_images_image_id_media_id_fk": {
|
||
"name": "dyvolis_page_gallery_images_image_id_media_id_fk",
|
||
"tableFrom": "dyvolis_page_gallery_images",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
},
|
||
"dyvolis_page_gallery_images_parent_id_fk": {
|
||
"name": "dyvolis_page_gallery_images_parent_id_fk",
|
||
"tableFrom": "dyvolis_page_gallery_images",
|
||
"tableTo": "dyvolis_page",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.dyvolis_page_why_visit_items": {
|
||
"name": "dyvolis_page_why_visit_items",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"description": {
|
||
"name": "description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
}
|
||
},
|
||
"indexes": {
|
||
"dyvolis_page_why_visit_items_order_idx": {
|
||
"name": "dyvolis_page_why_visit_items_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"dyvolis_page_why_visit_items_parent_id_idx": {
|
||
"name": "dyvolis_page_why_visit_items_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"dyvolis_page_why_visit_items_parent_id_fk": {
|
||
"name": "dyvolis_page_why_visit_items_parent_id_fk",
|
||
"tableFrom": "dyvolis_page_why_visit_items",
|
||
"tableTo": "dyvolis_page",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.dyvolis_page_review_videos": {
|
||
"name": "dyvolis_page_review_videos",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"src": {
|
||
"name": "src",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"poster": {
|
||
"name": "poster",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"label": {
|
||
"name": "label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"dyvolis_page_review_videos_order_idx": {
|
||
"name": "dyvolis_page_review_videos_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"dyvolis_page_review_videos_parent_id_idx": {
|
||
"name": "dyvolis_page_review_videos_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"dyvolis_page_review_videos_parent_id_fk": {
|
||
"name": "dyvolis_page_review_videos_parent_id_fk",
|
||
"tableFrom": "dyvolis_page_review_videos",
|
||
"tableTo": "dyvolis_page",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.dyvolis_page": {
|
||
"name": "dyvolis_page",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"hero_title": {
|
||
"name": "hero_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'ДивоЛіс – територія магії та фантазії'"
|
||
},
|
||
"hero_description": {
|
||
"name": "hero_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Топіарні фігури зроблені з урахуванням важливих деталей, тому ви одразу впізнаєте в них улюблених казкових героїв. Тут можна бігати, стрибати, лазити по фігурках і ставати героями власної казки.'"
|
||
},
|
||
"hero_stat": {
|
||
"name": "hero_stat",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'60+'"
|
||
},
|
||
"hero_stat_label": {
|
||
"name": "hero_stat_label",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'експонатів з безпечних для дітей матеріалів'"
|
||
},
|
||
"working_hours": {
|
||
"name": "working_hours",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'щодня з 11:00 до 20:00'"
|
||
},
|
||
"gallery_quote": {
|
||
"name": "gallery_quote",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Це місце – де малеча зустрічає героїв улюблених казок. Простір справжнього дитинства.'"
|
||
},
|
||
"why_visit_title": {
|
||
"name": "why_visit_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Чому варто відвідати ДивоЛіс'"
|
||
},
|
||
"combo_description": {
|
||
"name": "combo_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Динопарк + Диволіс із казковими топіарними фігурами + Дзеркальний лабіринт'"
|
||
},
|
||
"meta_title": {
|
||
"name": "meta_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_description": {
|
||
"name": "meta_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_image_id": {
|
||
"name": "meta_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"dyvolis_page_meta_meta_image_idx": {
|
||
"name": "dyvolis_page_meta_meta_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "meta_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"dyvolis_page_meta_image_id_media_id_fk": {
|
||
"name": "dyvolis_page_meta_image_id_media_id_fk",
|
||
"tableFrom": "dyvolis_page",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["meta_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.group_visits_page_groups": {
|
||
"name": "group_visits_page_groups",
|
||
"schema": "",
|
||
"columns": {
|
||
"_order": {
|
||
"name": "_order",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"_parent_id": {
|
||
"name": "_parent_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"id": {
|
||
"name": "id",
|
||
"type": "varchar",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"icon": {
|
||
"name": "icon",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"title": {
|
||
"name": "title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"description": {
|
||
"name": "description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"min_people": {
|
||
"name": "min_people",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
},
|
||
"discount": {
|
||
"name": "discount",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": true
|
||
}
|
||
},
|
||
"indexes": {
|
||
"group_visits_page_groups_order_idx": {
|
||
"name": "group_visits_page_groups_order_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_order",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
},
|
||
"group_visits_page_groups_parent_id_idx": {
|
||
"name": "group_visits_page_groups_parent_id_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "_parent_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"group_visits_page_groups_parent_id_fk": {
|
||
"name": "group_visits_page_groups_parent_id_fk",
|
||
"tableFrom": "group_visits_page_groups",
|
||
"tableTo": "group_visits_page",
|
||
"columnsFrom": ["_parent_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "cascade",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.group_visits_page": {
|
||
"name": "group_visits_page",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"hero_title": {
|
||
"name": "hero_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Групові відвідування'"
|
||
},
|
||
"hero_subtitle": {
|
||
"name": "hero_subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Спеціальні умови для організованих груп. Мінімум 10 осіб — максимум вражень.'"
|
||
},
|
||
"form_title": {
|
||
"name": "form_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Подати заявку на групове відвідування'"
|
||
},
|
||
"form_subtitle": {
|
||
"name": "form_subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Вкажіть кількість учасників та бажану дату — менеджер зателефонує і погодить деталі.'"
|
||
},
|
||
"meta_title": {
|
||
"name": "meta_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_description": {
|
||
"name": "meta_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_image_id": {
|
||
"name": "meta_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"group_visits_page_meta_meta_image_idx": {
|
||
"name": "group_visits_page_meta_meta_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "meta_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"group_visits_page_meta_image_id_media_id_fk": {
|
||
"name": "group_visits_page_meta_image_id_media_id_fk",
|
||
"tableFrom": "group_visits_page",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["meta_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.birthday_page": {
|
||
"name": "birthday_page",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"hero_title": {
|
||
"name": "hero_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Дні народження'"
|
||
},
|
||
"hero_subtitle": {
|
||
"name": "hero_subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Зробіть свято незабутнім! Оберіть пакет і наші менеджери зв''яжуться з вами для уточнення деталей.'"
|
||
},
|
||
"form_title": {
|
||
"name": "form_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Замовити святкування'"
|
||
},
|
||
"form_subtitle": {
|
||
"name": "form_subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Залиште заявку і наш менеджер зв''яжеться з вами протягом 30 хвилин'"
|
||
},
|
||
"meta_title": {
|
||
"name": "meta_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_description": {
|
||
"name": "meta_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_image_id": {
|
||
"name": "meta_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"birthday_page_meta_meta_image_idx": {
|
||
"name": "birthday_page_meta_meta_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "meta_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"birthday_page_meta_image_id_media_id_fk": {
|
||
"name": "birthday_page_meta_image_id_media_id_fk",
|
||
"tableFrom": "birthday_page",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["meta_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
},
|
||
"public.tickets_page": {
|
||
"name": "tickets_page",
|
||
"schema": "",
|
||
"columns": {
|
||
"id": {
|
||
"name": "id",
|
||
"type": "serial",
|
||
"primaryKey": true,
|
||
"notNull": true
|
||
},
|
||
"hero_title": {
|
||
"name": "hero_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Купити квиток'"
|
||
},
|
||
"hero_subtitle": {
|
||
"name": "hero_subtitle",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Оберіть квиток та придбайте онлайн — без черги на касі'"
|
||
},
|
||
"section_title_birthday": {
|
||
"name": "section_title_birthday",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Дні народження'"
|
||
},
|
||
"section_title_groups": {
|
||
"name": "section_title_groups",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false,
|
||
"default": "'Групові відвідування'"
|
||
},
|
||
"meta_title": {
|
||
"name": "meta_title",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_description": {
|
||
"name": "meta_description",
|
||
"type": "varchar",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"meta_image_id": {
|
||
"name": "meta_image_id",
|
||
"type": "integer",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"updated_at": {
|
||
"name": "updated_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
},
|
||
"created_at": {
|
||
"name": "created_at",
|
||
"type": "timestamp(3) with time zone",
|
||
"primaryKey": false,
|
||
"notNull": false
|
||
}
|
||
},
|
||
"indexes": {
|
||
"tickets_page_meta_meta_image_idx": {
|
||
"name": "tickets_page_meta_meta_image_idx",
|
||
"columns": [
|
||
{
|
||
"expression": "meta_image_id",
|
||
"isExpression": false,
|
||
"asc": true,
|
||
"nulls": "last"
|
||
}
|
||
],
|
||
"isUnique": false,
|
||
"concurrently": false,
|
||
"method": "btree",
|
||
"with": {}
|
||
}
|
||
},
|
||
"foreignKeys": {
|
||
"tickets_page_meta_image_id_media_id_fk": {
|
||
"name": "tickets_page_meta_image_id_media_id_fk",
|
||
"tableFrom": "tickets_page",
|
||
"tableTo": "media",
|
||
"columnsFrom": ["meta_image_id"],
|
||
"columnsTo": ["id"],
|
||
"onDelete": "set null",
|
||
"onUpdate": "no action"
|
||
}
|
||
},
|
||
"compositePrimaryKeys": {},
|
||
"uniqueConstraints": {},
|
||
"policies": {},
|
||
"checkConstraints": {},
|
||
"isRLSEnabled": false
|
||
}
|
||
},
|
||
"enums": {
|
||
"public.enum_users_role": {
|
||
"name": "enum_users_role",
|
||
"schema": "public",
|
||
"values": ["admin", "editor"]
|
||
},
|
||
"public.enum_pages_blocks_hero_background_type": {
|
||
"name": "enum_pages_blocks_hero_background_type",
|
||
"schema": "public",
|
||
"values": ["image", "video"]
|
||
},
|
||
"public.enum_pages_blocks_cta_variant": {
|
||
"name": "enum_pages_blocks_cta_variant",
|
||
"schema": "public",
|
||
"values": ["primary", "secondary", "dark"]
|
||
},
|
||
"public.enum_pages_status": {
|
||
"name": "enum_pages_status",
|
||
"schema": "public",
|
||
"values": ["draft", "published"]
|
||
},
|
||
"public.enum__pages_v_blocks_hero_background_type": {
|
||
"name": "enum__pages_v_blocks_hero_background_type",
|
||
"schema": "public",
|
||
"values": ["image", "video"]
|
||
},
|
||
"public.enum__pages_v_blocks_cta_variant": {
|
||
"name": "enum__pages_v_blocks_cta_variant",
|
||
"schema": "public",
|
||
"values": ["primary", "secondary", "dark"]
|
||
},
|
||
"public.enum__pages_v_version_status": {
|
||
"name": "enum__pages_v_version_status",
|
||
"schema": "public",
|
||
"values": ["draft", "published"]
|
||
},
|
||
"public.enum_blog_posts_status": {
|
||
"name": "enum_blog_posts_status",
|
||
"schema": "public",
|
||
"values": ["draft", "published"]
|
||
},
|
||
"public.enum__blog_posts_v_version_status": {
|
||
"name": "enum__blog_posts_v_version_status",
|
||
"schema": "public",
|
||
"values": ["draft", "published"]
|
||
},
|
||
"public.enum_tariffs_category_tag": {
|
||
"name": "enum_tariffs_category_tag",
|
||
"schema": "public",
|
||
"values": ["dyno", "dyvolis", "maze", "combo", "family"]
|
||
},
|
||
"public.enum_leads_status": {
|
||
"name": "enum_leads_status",
|
||
"schema": "public",
|
||
"values": ["new", "contacted", "qualified", "closed"]
|
||
},
|
||
"public.enum_orders_status": {
|
||
"name": "enum_orders_status",
|
||
"schema": "public",
|
||
"values": ["redirected_to_payment", "paid", "failed", "cancelled"]
|
||
},
|
||
"public.enum_reviews_source": {
|
||
"name": "enum_reviews_source",
|
||
"schema": "public",
|
||
"values": ["google", "facebook", "instagram", "manual"]
|
||
},
|
||
"public.enum_header_nav_links_auto_children_from": {
|
||
"name": "enum_header_nav_links_auto_children_from",
|
||
"schema": "public",
|
||
"values": ["none", "locations"]
|
||
},
|
||
"public.enum_footer_socials_platform": {
|
||
"name": "enum_footer_socials_platform",
|
||
"schema": "public",
|
||
"values": ["instagram", "facebook", "youtube", "tiktok"]
|
||
}
|
||
},
|
||
"schemas": {},
|
||
"sequences": {},
|
||
"roles": {},
|
||
"policies": {},
|
||
"views": {},
|
||
"_meta": {
|
||
"schemas": {},
|
||
"tables": {},
|
||
"columns": {}
|
||
},
|
||
"id": "320d7b7b-1cdc-465d-89eb-1e327ff7de91",
|
||
"prevId": "00000000-0000-0000-0000-000000000000"
|
||
}
|