clrghouz/database/migrations/2021_07_02_143145_session_passwords.php

29 lines
535 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class SessionPasswords extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::statement('ALTER TABLE address_zone RENAME TO system_zone');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
DB::statement('ALTER TABLE system_zone RENAME TO address_zone');
}
}