invoiceninja/database/migrations/2014_04_03_191105_add_pro_plan.php
Jeramy Simpson 04c392136e Add Files
2015-03-17 07:45:25 +10:00

35 lines
511 B
PHP

<?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');
});
}
}