refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
34
database/migrations/2017_02_05_041740_change_gifts_table.php
Normal file
34
database/migrations/2017_02_05_041740_change_gifts_table.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class ChangeGiftsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('gifts', function (Blueprint $table) {
|
||||
$table->renameColumn('title', 'name');
|
||||
$table->renameColumn('description', 'comment');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('gifts', function (Blueprint $table) {
|
||||
$table->renameColumn('name', 'title');
|
||||
$table->renameColumn('comment', 'description');
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user