diff --git a/cli/data/populate_steam_apps.php b/cli/data/populate_steam_apps.php new file mode 100644 index 000000000..b7f8999e8 --- /dev/null +++ b/cli/data/populate_steam_apps.php @@ -0,0 +1,15 @@ +populateSteamAppsTable(); \ No newline at end of file diff --git a/resources/db/patches/mysql/+1~steam_apps.sql b/resources/db/patches/mysql/+1~steam_apps.sql new file mode 100644 index 000000000..4e534acbd --- /dev/null +++ b/resources/db/patches/mysql/+1~steam_apps.sql @@ -0,0 +1,13 @@ +#Create the new steam_apps table + +DROP TABLE IF EXISTS steam_apps; +CREATE TABLE steam_apps ( + appid INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, + name VARCHAR(255) NOT NULL DEFAULT '', + PRIMARY KEY (appid), + UNIQUE KEY (name) +) + ENGINE = MYISAM + DEFAULT CHARSET = utf8 + COLLATE = utf8_unicode_ci + AUTO_INCREMENT = 1;