Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alnutile/c8ec1130389f8e7db24c to your computer and use it in GitHub Desktop.
Save alnutile/c8ec1130389f8e7db24c to your computer and use it in GitHub Desktop.
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddActiveToSiteOverrideTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('site_overrides', function ($table) {
$table->boolean('active')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('site_overrides', function ($table) {
$table->boolean('active')->nullable();
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment