Skip to content

Commit

Permalink
Merge pull request #25297 from frappe/mergify/bp/version-14-hotfix/pr…
Browse files Browse the repository at this point in the history
…-25296

fix: Add `is_virtual` in bootstrap schema (backport #25296)
  • Loading branch information
ankush committed Mar 10, 2024
2 parents 28b7884 + 2c1e615 commit 565636e
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 @@ -15,6 +15,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 565636e

Please sign in to comment.