diff --git a/gaseous-tools/Database.cs b/gaseous-tools/Database.cs index db1f2c6..81bc5f7 100644 --- a/gaseous-tools/Database.cs +++ b/gaseous-tools/Database.cs @@ -109,11 +109,6 @@ namespace gaseous_tools dbDict.Add("schemaver", i); ExecuteCMD(sql, dbDict); } - if (SchemaVer == i) - { - // no more updates, no point looping anymore - break; - } } } } diff --git a/gaseous-tools/Database/MySQL/gaseous-1001.sql b/gaseous-tools/Database/MySQL/gaseous-1001.sql new file mode 100644 index 0000000..1b39072 --- /dev/null +++ b/gaseous-tools/Database/MySQL/gaseous-1001.sql @@ -0,0 +1,25 @@ +CREATE + ALGORITHM = UNDEFINED + DEFINER = `root`@`localhost` + SQL SECURITY DEFINER +VIEW `view_signatures_games` AS + SELECT + `signatures_games`.`id` AS `id`, + `signatures_games`.`name` AS `name`, + `signatures_games`.`description` AS `description`, + `signatures_games`.`year` AS `year`, + `signatures_games`.`publisherid` AS `publisherid`, + `signatures_publishers`.`publisher` AS `publisher`, + `signatures_games`.`demo` AS `demo`, + `signatures_games`.`systemid` AS `platformid`, + `signatures_platforms`.`platform` AS `platform`, + `signatures_games`.`systemvariant` AS `systemvariant`, + `signatures_games`.`video` AS `video`, + `signatures_games`.`country` AS `country`, + `signatures_games`.`language` AS `language`, + `signatures_games`.`copyright` AS `copyright` + FROM + ((`signatures_games` + JOIN `signatures_publishers` ON ((`signatures_games`.`publisherid` = `signatures_publishers`.`id`))) + JOIN `signatures_platforms` ON ((`signatures_games`.`systemid` = `signatures_platforms`.`id`))); + diff --git a/gaseous-tools/gaseous-tools.csproj b/gaseous-tools/gaseous-tools.csproj index c3b885a..33e2fc7 100644 --- a/gaseous-tools/gaseous-tools.csproj +++ b/gaseous-tools/gaseous-tools.csproj @@ -15,6 +15,7 @@ + @@ -22,5 +23,6 @@ +