Skip to content

Commit

Permalink
sql import file updated
Browse files Browse the repository at this point in the history
  • Loading branch information
nekocari committed Aug 4, 2023
1 parent 3bcd4d2 commit ed17d76
Show file tree
Hide file tree
Showing 3 changed files with 1,191 additions and 3 deletions.
4 changes: 2 additions & 2 deletions import/update-1_2_1beta-to-1_3_0beta.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

-- new game -> hangman
INSERT INTO `routing` (`identifier`, `url`, `controller`, `action`, `method`, `deletable`) VALUES ('games_hangman', 'games/hangman.php', 'Game', 'hangman', 'get|post', '0');
INSERT INTO `games_settings` (`id`, `game_key`, `status`, `type`, `wait_time`, `route_identifier`, `name_json`, `description_json`, `preview_img_path`, `game_img_path`) VALUES (NULL, 'hangman', 'online', 'custom', 15, 'games_hangman', '{\"de\":\"Galgenm\\u00e4nnchen\",\"en\":\"Hangman\"}', '{\"de\":\"Kannst du das gesuchte Wort erraten?\",\"en\":\"Can you guess the missing word?\"}', NULL, NULL);
INSERT INTO `routing` (`identifier`, `url`, `controller`, `action`, `method`, `deletable`) VALUES ('game_hangman', 'games/hangman.php', 'Game', 'hangman', 'get|post', '0');
INSERT INTO `games_settings` (`id`, `game_key`, `status`, `type`, `wait_time`, `route_identifier`, `name_json`, `description_json`, `preview_img_path`, `game_img_path`) VALUES (NULL, 'hangman', 'online', 'custom', 15, 'game_hangman', '{\"de\":\"Galgenm\\u00e4nnchen\",\"en\":\"Hangman\"}', '{\"de\":\"Kannst du das gesuchte Wort erraten?\",\"en\":\"Can you guess the missing word?\"}', NULL, NULL);

-- file editing pages
INSERT INTO `routing` (`identifier`, `url`, `controller`, `action`, `method`, `deletable`) VALUES ('admin_pages', 'admin/pages/list.php', 'Admin', 'pagesIndex', 'get', '0');
Expand Down
2 changes: 1 addition & 1 deletion setup/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
// Temporary variable, used to store current query
$templine = '';
// Read in entire file
$lines = file(PATH.'setup/structure_v1_2beta.sql');
$lines = file(PATH.'setup/structure_v1_3beta.sql');
// Loop through each line
foreach ($lines as $line)
{
Expand Down
Loading

0 comments on commit ed17d76

Please sign in to comment.