invoiceninja/database/migrations/2014_04_03_191105_add_pro_plan.php

35 lines
511 B
PHP
Raw Normal View History

2015-03-17 07:45:25 +10:00
<?php
use Illuminate\Database\Schema\Blueprint;
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');
});
}
}