Skip to content

Commit 925c119

Browse files
committed
Merge branch 'release/2.0.1'
2 parents 45dcc7c + bb74c22 commit 925c119

File tree

3 files changed

+21
-20
lines changed

3 files changed

+21
-20
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ install:
3131
before_script:
3232
- composer install
3333
- php artisan migrate
34+
- php artisan migrate:refresh
3435

3536
script: phpunit

database/migrations/2015_05_02_100000_store_create_tables.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -121,24 +121,6 @@ public function up()
121121
$table->foreign('loadout_id')->references('id')->on('loadouts')
122122
->onUpdate('cascade')->onDelete('cascade');
123123
});
124-
125-
// Create table for store versions
126-
Schema::connection('store')->create('versions', function (Blueprint $table) {
127-
$table->engine = "InnoDB";
128-
$table->increments('id');
129-
$table->string('mod_name',64);
130-
$table->string('mod_description',64)->nullable();
131-
$table->string('mod_ver_convar',64)->nullable();
132-
$table->string('mod_ver_number',64);
133-
$table->integer('server_id')->unsigned();
134-
$table->timestamp('last_updated');
135-
$table->timestamps();
136-
137-
$table->unique(['mod_ver_convar', 'server_id']);
138-
139-
$table->foreign('server_id')->references('id')->on('servers')
140-
->onUpdate('cascade')->onDelete('cascade');
141-
});
142124

143125
// Create table for store servers
144126
Schema::connection('store')->create('servers', function (Blueprint $table) {
@@ -151,6 +133,24 @@ public function up()
151133
$table->timestamps();
152134
});
153135

136+
// Create table for store versions
137+
Schema::connection('store')->create('versions', function (Blueprint $table) {
138+
$table->engine = "InnoDB";
139+
$table->increments('id');
140+
$table->string('mod_name',64);
141+
$table->string('mod_description',64)->nullable();
142+
$table->string('mod_ver_convar',64)->nullable();
143+
$table->string('mod_ver_number',64);
144+
$table->integer('server_id')->unsigned();
145+
$table->timestamp('last_updated');
146+
$table->timestamps();
147+
148+
$table->unique(['mod_ver_convar', 'server_id']);
149+
150+
$table->foreign('server_id')->references('id')->on('servers')
151+
->onUpdate('cascade')->onDelete('cascade');
152+
});
153+
154154
// Create table for store server items
155155
Schema::connection('store')->create('servers_items', function (Blueprint $table) {
156156
$table->engine = "InnoDB";
@@ -194,11 +194,11 @@ public function down()
194194
Schema::connection('store')->drop('users_items');
195195
Schema::connection('store')->drop('servers_items');
196196
Schema::connection('store')->drop('servers_categories');
197+
Schema::connection('store')->drop('versions');
197198
Schema::connection('store')->drop('servers');
198199
Schema::connection('store')->drop('items');
199200
Schema::connection('store')->drop('categories');
200201
Schema::connection('store')->drop('users');
201-
Schema::connection('store')->drop('versions');
202202
}
203203

204204
}

resources/views/templates/adminlte205/includes/cont-footer.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
{{--You should have received a copy of the GNU Affero General Public License--}}
1616
{{--along with this program. If not, see <http://www.gnu.org/licenses/>.--}}
1717
<div class="pull-right hidden-xs">
18-
<b>Version</b> 2.0.0
18+
<b>Version</b> 2.0.1
1919
</div>
2020
Copyright &copy; 2013-2016 Store Plugin: <strong>Alon Gubkin</strong>, <strong>Keith Warren (Drixevel)</strong> - &copy; 2015-2016 WebPanel2: <strong>Werner Maisl</strong>. All rights reserved.

0 commit comments

Comments
 (0)