diff --git a/installation/sql/mysql/base.sql b/installation/sql/mysql/base.sql
index d215cb55cfd09..0514a4977d0e6 100644
--- a/installation/sql/mysql/base.sql
+++ b/installation/sql/mysql/base.sql
@@ -552,6 +552,7 @@ CREATE TABLE IF NOT EXISTS `#__menu_types` (
`title` varchar(48) NOT NULL,
`description` varchar(255) NOT NULL DEFAULT '',
`client_id` int NOT NULL DEFAULT 0,
+ `ordering` int NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
UNIQUE KEY `idx_menutype` (`menutype`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
@@ -560,8 +561,8 @@ CREATE TABLE IF NOT EXISTS `#__menu_types` (
-- Dumping data for table `#__menu_types`
--
-INSERT IGNORE INTO `#__menu_types` (`id`, `asset_id`, `menutype`, `title`, `description`, `client_id`) VALUES
-(1, 0, 'mainmenu', 'Main Menu', 'The main menu for the site', 0);
+INSERT IGNORE INTO `#__menu_types` (`id`, `asset_id`, `menutype`, `title`, `description`, `client_id`, `ordering`) VALUES
+(1, 0, 'mainmenu', 'Main Menu', 'The main menu for the site', 0, 1);
-- --------------------------------------------------------
diff --git a/installation/sql/postgresql/base.sql b/installation/sql/postgresql/base.sql
index bc6f36bcd900c..4e37522385fcc 100644
--- a/installation/sql/postgresql/base.sql
+++ b/installation/sql/postgresql/base.sql
@@ -576,6 +576,7 @@ CREATE TABLE IF NOT EXISTS "#__menu_types" (
"title" varchar(48) NOT NULL,
"description" varchar(255) DEFAULT '' NOT NULL,
"client_id" int DEFAULT 0 NOT NULL,
+ "ordering" int NOT NULL DEFAULT 0,
PRIMARY KEY ("id"),
CONSTRAINT "#__menu_types_idx_menutype" UNIQUE ("menutype")
);
@@ -584,8 +585,8 @@ CREATE TABLE IF NOT EXISTS "#__menu_types" (
-- Dumping data for table `#__menu_types`
--
-INSERT INTO "#__menu_types" ("id", "asset_id", "menutype", "title", "description", "client_id") VALUES
-(1, 0, 'mainmenu', 'Main Menu', 'The main menu for the site', 0);
+INSERT INTO "#__menu_types" ("id", "asset_id", "menutype", "title", "description", "client_id", "ordering") VALUES
+(1, 0, 'mainmenu', 'Main Menu', 'The main menu for the site', 0, 1);
SELECT setval('#__menu_types_id_seq', 2, false);
|