invoiceninja/database/migrations/2014_04_03_191105_add_pro_plan.php
2017-01-30 21:40:43 +02:00

31 lines
550 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
class AddProPlan extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('accounts', function ($table) {
$table->date('pro_plan_paid')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('accounts', function ($table) {
$table->dropColumn('pro_plan_paid');
});
}
}