Skip to content

Commit

Permalink
Merge pull request #25296 from ankush/is_virtual_snafu
Browse files Browse the repository at this point in the history
fix: Add `is_virtual` in bootstrap schema
  • Loading branch information
ankush authored Mar 10, 2024
2 parents 3c843d8 + 05dca16 commit a103335
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions frappe/database/mariadb/framework_mariadb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ CREATE TABLE `tabDocType` (
`idx` int(8) NOT NULL DEFAULT 0,
`search_fields` varchar(255) DEFAULT NULL,
`issingle` int(1) NOT NULL DEFAULT 0,
`is_virtual` int(1) NOT NULL DEFAULT 0,
`is_tree` int(1) NOT NULL DEFAULT 0,
`istable` int(1) NOT NULL DEFAULT 0,
`editable_grid` int(1) NOT NULL DEFAULT 1,
Expand Down
1 change: 1 addition & 0 deletions frappe/database/postgres/framework_postgres.sql
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ CREATE TABLE "tabDocType" (
"idx" bigint NOT NULL DEFAULT 0,
"search_fields" varchar(255) DEFAULT NULL,
"issingle" smallint NOT NULL DEFAULT 0,
"is_virtual" smallint NOT NULL DEFAULT 0,
"is_tree" smallint NOT NULL DEFAULT 0,
"istable" smallint NOT NULL DEFAULT 0,
"editable_grid" smallint NOT NULL DEFAULT 1,
Expand Down
1 change: 1 addition & 0 deletions frappe/utils/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def before_install():
frappe.reload_doc("desk", "doctype", "form_tour_step")
frappe.reload_doc("desk", "doctype", "form_tour")
frappe.reload_doc("core", "doctype", "doctype")
frappe.clear_cache()


def after_install():
Expand Down

0 comments on commit a103335

Please sign in to comment.