добавляю все изменения проекта на текущий момент
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
// Schema::table('taxi_main', function(Blueprint $table) {
|
||||
// $table->renameColumn('taxi_address', 'order_addr_to');
|
||||
// });
|
||||
DB::statement('ALTER TABLE taxi_main CHANGE COLUMN taxi_address taxi_address_to Varchar(500)');
|
||||
// Schema::table('taxi_main', function (Blueprint $table) {
|
||||
// $table->renameColumn('taxi_address', 'taxi_address_to')->change();
|
||||
// //$table->string('taxi_time', 8)->change();
|
||||
// });
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
// Schema::table('taxi_main', function(Blueprint $table) {
|
||||
// $table->renameColumn('order_addr_to', 'taxi_address');
|
||||
// });
|
||||
DB::statement('ALTER TABLE taxi_main CHANGE COLUMN taxi_address_to taxi_address Varchar(500)');
|
||||
// Schema::table('taxi_main', function (Blueprint $table) {
|
||||
// //$table->renameColumn('archive', 'cancel_rqst');
|
||||
// $table->renameColumn('taxi_address_to', 'taxi_address')->change();
|
||||
// // $table->string('taxi_time', 6)->change();
|
||||
// });
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user