Skip to content

Commit

Permalink
set ordering on new installs
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman committed Jul 13, 2023
1 parent f333071 commit 70bd691
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions installation/sql/mysql/base.sql
Original file line number Diff line number Diff line change
Expand Up @@ -561,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);

-- --------------------------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions installation/sql/postgresql/base.sql
Original file line number Diff line number Diff line change
Expand Up @@ -585,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);

Expand Down

0 comments on commit 70bd691

Please sign in to comment.