changed table names

This commit is contained in:
mrNikto9 2024-07-16 20:15:13 +05:00
parent fcce2d9b07
commit c398fc6e22
3 changed files with 40 additions and 0 deletions

View File

@ -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');
}
}

View File

@ -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');
}
}

View File

@ -27,3 +27,9 @@ v1.0.9:
v1.0.10: v1.0.10:
- 'Updated table tps_tps_projects' - 'Updated table tps_tps_projects'
- builder_table_update_tps_tps_projects_2.php - 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