Skip to content

Commit

Permalink
Add nullables
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed May 15, 2014
1 parent c745f15 commit 81042c8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class DbSystemFiles extends Migration
class DbSystemFiles extends Migration
{

public function up()
Expand All @@ -19,8 +19,8 @@ public function up()
$table->string('title')->nullable();
$table->text('description')->nullable();
$table->string('field')->nullable()->index();
$table->string('attachment_id')->index();
$table->string('attachment_type')->index();
$table->string('attachment_id')->index()->nullable();
$table->string('attachment_type')->index()->nullable();
$table->boolean('public')->default(true);
$table->integer('sort_order')->nullable();
$table->timestamps();
Expand Down

0 comments on commit 81042c8

Please sign in to comment.