mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 10:14:53 -05:00
947 lines
24 KiB
JSON
947 lines
24 KiB
JSON
{
|
|
"id": "02802e2f-3cce-492b-b874-68f274366be9",
|
|
"prevId": "ff8b49fe-aa92-43a2-bd14-12510e4a4b75",
|
|
"version": "7",
|
|
"dialect": "postgresql",
|
|
"tables": {
|
|
"actual.accounts": {
|
|
"name": "accounts",
|
|
"schema": "actual",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "varchar(36)",
|
|
"primaryKey": true,
|
|
"notNull": true
|
|
},
|
|
"name": {
|
|
"name": "name",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"offbudget": {
|
|
"name": "offbudget",
|
|
"type": "boolean",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"default": false
|
|
},
|
|
"closed": {
|
|
"name": "closed",
|
|
"type": "boolean",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"default": false
|
|
},
|
|
"sort_order": {
|
|
"name": "sort_order",
|
|
"type": "bigint",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"account_id": {
|
|
"name": "account_id",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"balance_current": {
|
|
"name": "balance_current",
|
|
"type": "bigint",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"balance_available": {
|
|
"name": "balance_available",
|
|
"type": "bigint",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"balance_limit": {
|
|
"name": "balance_limit",
|
|
"type": "bigint",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"mask": {
|
|
"name": "mask",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"official_name": {
|
|
"name": "official_name",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"type": {
|
|
"name": "type",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"subtype": {
|
|
"name": "subtype",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"bank": {
|
|
"name": "bank",
|
|
"type": "varchar(36)",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"account_sync_source": {
|
|
"name": "account_sync_source",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"last_sync": {
|
|
"name": "last_sync",
|
|
"type": "bigint",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"last_reconciled": {
|
|
"name": "last_reconciled",
|
|
"type": "bigint",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"tombstone": {
|
|
"name": "tombstone",
|
|
"type": "boolean",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"default": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"accounts_name_index": {
|
|
"name": "accounts_name_index",
|
|
"columns": [
|
|
{
|
|
"expression": "name",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": "\"actual\".\"accounts\".\"tombstone\" IS FALSE",
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
},
|
|
"accounts_bank_index": {
|
|
"name": "accounts_bank_index",
|
|
"columns": [
|
|
{
|
|
"expression": "bank",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": "\"actual\".\"accounts\".\"tombstone\" IS FALSE",
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
},
|
|
"accounts_sort_order_name_index": {
|
|
"name": "accounts_sort_order_name_index",
|
|
"columns": [
|
|
{
|
|
"expression": "sort_order",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
},
|
|
{
|
|
"expression": "name",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
}
|
|
},
|
|
"foreignKeys": {
|
|
"accounts_bank_banks_id_fk": {
|
|
"name": "accounts_bank_banks_id_fk",
|
|
"tableFrom": "accounts",
|
|
"tableTo": "banks",
|
|
"schemaTo": "actual",
|
|
"columnsFrom": [
|
|
"bank"
|
|
],
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onDelete": "no action",
|
|
"onUpdate": "no action"
|
|
}
|
|
},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"policies": {},
|
|
"checkConstraints": {},
|
|
"isRLSEnabled": false
|
|
},
|
|
"actual.banks": {
|
|
"name": "banks",
|
|
"schema": "actual",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "varchar(36)",
|
|
"primaryKey": true,
|
|
"notNull": true
|
|
},
|
|
"name": {
|
|
"name": "name",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"bank_id": {
|
|
"name": "bank_id",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"tombstone": {
|
|
"name": "tombstone",
|
|
"type": "boolean",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"default": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"banks_bank_id_index": {
|
|
"name": "banks_bank_id_index",
|
|
"columns": [
|
|
{
|
|
"expression": "bank_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": "\"actual\".\"banks\".\"tombstone\" IS FALSE",
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
}
|
|
},
|
|
"foreignKeys": {},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"policies": {},
|
|
"checkConstraints": {},
|
|
"isRLSEnabled": false
|
|
},
|
|
"actual.categories": {
|
|
"name": "categories",
|
|
"schema": "actual",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "varchar(36)",
|
|
"primaryKey": true,
|
|
"notNull": true
|
|
},
|
|
"name": {
|
|
"name": "name",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"is_income": {
|
|
"name": "is_income",
|
|
"type": "boolean",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"default": false
|
|
},
|
|
"cat_group": {
|
|
"name": "cat_group",
|
|
"type": "varchar(36)",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"sort_order": {
|
|
"name": "sort_order",
|
|
"type": "bigint",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"hidden": {
|
|
"name": "hidden",
|
|
"type": "boolean",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"default": false
|
|
},
|
|
"goal_def": {
|
|
"name": "goal_def",
|
|
"type": "jsonb",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"tombstone": {
|
|
"name": "tombstone",
|
|
"type": "boolean",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"default": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"categories_name_index": {
|
|
"name": "categories_name_index",
|
|
"columns": [
|
|
{
|
|
"expression": "name",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": "\"actual\".\"categories\".\"tombstone\" IS FALSE",
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
},
|
|
"categories_cat_group_index": {
|
|
"name": "categories_cat_group_index",
|
|
"columns": [
|
|
{
|
|
"expression": "cat_group",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": "\"actual\".\"categories\".\"tombstone\" IS FALSE",
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
},
|
|
"categories_sort_order_id_index": {
|
|
"name": "categories_sort_order_id_index",
|
|
"columns": [
|
|
{
|
|
"expression": "sort_order",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
},
|
|
{
|
|
"expression": "id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
},
|
|
"categories_goal_def_index": {
|
|
"name": "categories_goal_def_index",
|
|
"columns": [
|
|
{
|
|
"expression": "goal_def",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "first"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
}
|
|
},
|
|
"foreignKeys": {
|
|
"categories_cat_group_category_groups_id_fk": {
|
|
"name": "categories_cat_group_category_groups_id_fk",
|
|
"tableFrom": "categories",
|
|
"tableTo": "category_groups",
|
|
"schemaTo": "actual",
|
|
"columnsFrom": [
|
|
"cat_group"
|
|
],
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onDelete": "no action",
|
|
"onUpdate": "no action"
|
|
}
|
|
},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"policies": {},
|
|
"checkConstraints": {},
|
|
"isRLSEnabled": false
|
|
},
|
|
"actual.category_groups": {
|
|
"name": "category_groups",
|
|
"schema": "actual",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "varchar(36)",
|
|
"primaryKey": true,
|
|
"notNull": true
|
|
},
|
|
"name": {
|
|
"name": "name",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"is_income": {
|
|
"name": "is_income",
|
|
"type": "boolean",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"default": false
|
|
},
|
|
"sort_order": {
|
|
"name": "sort_order",
|
|
"type": "bigint",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"hidden": {
|
|
"name": "hidden",
|
|
"type": "boolean",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"default": false
|
|
},
|
|
"tombstone": {
|
|
"name": "tombstone",
|
|
"type": "boolean",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"default": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"category_groups_name_index": {
|
|
"name": "category_groups_name_index",
|
|
"columns": [
|
|
{
|
|
"expression": "name",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": "\"actual\".\"category_groups\".\"tombstone\" IS FALSE",
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
},
|
|
"category_groups_is_income_sort_order_id_index": {
|
|
"name": "category_groups_is_income_sort_order_id_index",
|
|
"columns": [
|
|
{
|
|
"expression": "is_income",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
},
|
|
{
|
|
"expression": "sort_order",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
},
|
|
{
|
|
"expression": "id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
},
|
|
"category_groups_sort_order_id_index": {
|
|
"name": "category_groups_sort_order_id_index",
|
|
"columns": [
|
|
{
|
|
"expression": "sort_order",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
},
|
|
{
|
|
"expression": "id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
}
|
|
},
|
|
"foreignKeys": {},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"policies": {},
|
|
"checkConstraints": {},
|
|
"isRLSEnabled": false
|
|
},
|
|
"actual.category_mapping": {
|
|
"name": "category_mapping",
|
|
"schema": "actual",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "varchar(36)",
|
|
"primaryKey": true,
|
|
"notNull": true
|
|
},
|
|
"transfer_id": {
|
|
"name": "transfer_id",
|
|
"type": "varchar(36)",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"category_mapping_transfer_id_index": {
|
|
"name": "category_mapping_transfer_id_index",
|
|
"columns": [
|
|
{
|
|
"expression": "transfer_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
}
|
|
},
|
|
"foreignKeys": {
|
|
"category_mapping_id_categories_id_fk": {
|
|
"name": "category_mapping_id_categories_id_fk",
|
|
"tableFrom": "category_mapping",
|
|
"tableTo": "categories",
|
|
"schemaTo": "actual",
|
|
"columnsFrom": [
|
|
"id"
|
|
],
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onDelete": "no action",
|
|
"onUpdate": "no action"
|
|
},
|
|
"category_mapping_transfer_id_categories_id_fk": {
|
|
"name": "category_mapping_transfer_id_categories_id_fk",
|
|
"tableFrom": "category_mapping",
|
|
"tableTo": "categories",
|
|
"schemaTo": "actual",
|
|
"columnsFrom": [
|
|
"transfer_id"
|
|
],
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onDelete": "no action",
|
|
"onUpdate": "no action"
|
|
}
|
|
},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"policies": {},
|
|
"checkConstraints": {},
|
|
"isRLSEnabled": false
|
|
},
|
|
"actual.kvcache_key": {
|
|
"name": "kvcache_key",
|
|
"schema": "actual",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "smallint",
|
|
"primaryKey": true,
|
|
"notNull": true
|
|
},
|
|
"key": {
|
|
"name": "key",
|
|
"type": "double precision",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
}
|
|
},
|
|
"indexes": {},
|
|
"foreignKeys": {},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"policies": {},
|
|
"checkConstraints": {},
|
|
"isRLSEnabled": false
|
|
},
|
|
"actual.kvcache": {
|
|
"name": "kvcache",
|
|
"schema": "actual",
|
|
"columns": {
|
|
"key": {
|
|
"name": "key",
|
|
"type": "text",
|
|
"primaryKey": true,
|
|
"notNull": true
|
|
},
|
|
"value": {
|
|
"name": "value",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
}
|
|
},
|
|
"indexes": {},
|
|
"foreignKeys": {},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"policies": {},
|
|
"checkConstraints": {},
|
|
"isRLSEnabled": false
|
|
},
|
|
"actual.messages_clock": {
|
|
"name": "messages_clock",
|
|
"schema": "actual",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "integer",
|
|
"primaryKey": true,
|
|
"notNull": true
|
|
},
|
|
"clock": {
|
|
"name": "clock",
|
|
"type": "jsonb",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"messages_clock_clock_index": {
|
|
"name": "messages_clock_clock_index",
|
|
"columns": [
|
|
{
|
|
"expression": "clock",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"concurrently": false,
|
|
"method": "gin",
|
|
"with": {}
|
|
}
|
|
},
|
|
"foreignKeys": {},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"policies": {},
|
|
"checkConstraints": {},
|
|
"isRLSEnabled": false
|
|
},
|
|
"actual.messages_crdt": {
|
|
"name": "messages_crdt",
|
|
"schema": "actual",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "serial",
|
|
"primaryKey": true,
|
|
"notNull": true
|
|
},
|
|
"timestamp": {
|
|
"name": "timestamp",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"dataset": {
|
|
"name": "dataset",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"row": {
|
|
"name": "row",
|
|
"type": "varchar(36)",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"column": {
|
|
"name": "column",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"value": {
|
|
"name": "value",
|
|
"type": "bytea",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"messages_crdt_timestamp_index": {
|
|
"name": "messages_crdt_timestamp_index",
|
|
"columns": [
|
|
{
|
|
"expression": "timestamp",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
},
|
|
"messages_crdt_dataset_row_column_timestamp_index": {
|
|
"name": "messages_crdt_dataset_row_column_timestamp_index",
|
|
"columns": [
|
|
{
|
|
"expression": "dataset",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
},
|
|
{
|
|
"expression": "row",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
},
|
|
{
|
|
"expression": "column",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
},
|
|
{
|
|
"expression": "timestamp",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
}
|
|
},
|
|
"foreignKeys": {},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"policies": {},
|
|
"checkConstraints": {},
|
|
"isRLSEnabled": false
|
|
},
|
|
"actual.notes": {
|
|
"name": "notes",
|
|
"schema": "actual",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "varchar(36)",
|
|
"primaryKey": true,
|
|
"notNull": true
|
|
},
|
|
"note": {
|
|
"name": "note",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"notes_note_index": {
|
|
"name": "notes_note_index",
|
|
"columns": [
|
|
{
|
|
"expression": "note",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last",
|
|
"opclass": "gin_trgm_ops"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"concurrently": false,
|
|
"method": "gin",
|
|
"with": {}
|
|
}
|
|
},
|
|
"foreignKeys": {},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"policies": {},
|
|
"checkConstraints": {},
|
|
"isRLSEnabled": false
|
|
},
|
|
"actual.payees": {
|
|
"name": "payees",
|
|
"schema": "actual",
|
|
"columns": {
|
|
"id": {
|
|
"name": "id",
|
|
"type": "varchar(36)",
|
|
"primaryKey": true,
|
|
"notNull": true
|
|
},
|
|
"name": {
|
|
"name": "name",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"transfer_acct": {
|
|
"name": "transfer_acct",
|
|
"type": "varchar(36)",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
},
|
|
"favorite": {
|
|
"name": "favorite",
|
|
"type": "boolean",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"default": false
|
|
},
|
|
"learn_categories": {
|
|
"name": "learn_categories",
|
|
"type": "boolean",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"default": true
|
|
},
|
|
"tombstone": {
|
|
"name": "tombstone",
|
|
"type": "boolean",
|
|
"primaryKey": false,
|
|
"notNull": false,
|
|
"default": false
|
|
},
|
|
"category": {
|
|
"name": "category",
|
|
"type": "text",
|
|
"primaryKey": false,
|
|
"notNull": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"payees_name_index": {
|
|
"name": "payees_name_index",
|
|
"columns": [
|
|
{
|
|
"expression": "name",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": "\"actual\".\"payees\".\"tombstone\" IS FALSE",
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
},
|
|
"payees_transfer_acct_name_index": {
|
|
"name": "payees_transfer_acct_name_index",
|
|
"columns": [
|
|
{
|
|
"expression": "transfer_acct",
|
|
"isExpression": false,
|
|
"asc": false,
|
|
"nulls": "first"
|
|
},
|
|
{
|
|
"expression": "LOWER(\"name\")",
|
|
"asc": true,
|
|
"isExpression": true,
|
|
"nulls": "last"
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": "\"actual\".\"payees\".\"tombstone\" IS FALSE",
|
|
"concurrently": false,
|
|
"method": "btree",
|
|
"with": {}
|
|
}
|
|
},
|
|
"foreignKeys": {
|
|
"payees_transfer_acct_accounts_id_fk": {
|
|
"name": "payees_transfer_acct_accounts_id_fk",
|
|
"tableFrom": "payees",
|
|
"tableTo": "accounts",
|
|
"schemaTo": "actual",
|
|
"columnsFrom": [
|
|
"transfer_acct"
|
|
],
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onDelete": "no action",
|
|
"onUpdate": "no action"
|
|
}
|
|
},
|
|
"compositePrimaryKeys": {},
|
|
"uniqueConstraints": {},
|
|
"policies": {},
|
|
"checkConstraints": {},
|
|
"isRLSEnabled": false
|
|
}
|
|
},
|
|
"enums": {},
|
|
"schemas": {
|
|
"actual": "actual"
|
|
},
|
|
"sequences": {},
|
|
"roles": {},
|
|
"policies": {},
|
|
"views": {},
|
|
"_meta": {
|
|
"columns": {},
|
|
"schemas": {},
|
|
"tables": {}
|
|
}
|
|
} |