changed table names
This commit is contained in:
parent
fcce2d9b07
commit
c398fc6e22
|
|
@ -0,0 +1,17 @@
|
|||
<?php namespace Tps\Tps\Updates;
|
||||
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class BuilderTableUpdateTpsTpsHomeProjects extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::rename('tps_tps_projects', 'tps_tps_home_projects');
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::rename('tps_tps_home_projects', 'tps_tps_projects');
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
<?php namespace Tps\Tps\Updates;
|
||||
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class BuilderTableUpdateTpsTpsHomeServices extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::rename('tps_tps_services', 'tps_tps_home_services');
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::rename('tps_tps_home_services', 'tps_tps_services');
|
||||
}
|
||||
}
|
||||
|
|
@ -27,3 +27,9 @@ v1.0.9:
|
|||
v1.0.10:
|
||||
- 'Updated table tps_tps_projects'
|
||||
- builder_table_update_tps_tps_projects_2.php
|
||||
v1.0.11:
|
||||
- 'Updated table tps_tps_projects'
|
||||
- builder_table_update_tps_tps_home_projects.php
|
||||
v1.0.12:
|
||||
- 'Updated table tps_tps_services'
|
||||
- builder_table_update_tps_tps_home_services.php
|
||||
|
|
|
|||
Loading…
Reference in New Issue