Skip to content

Commit

Permalink
Add default title columns to the roles and abilities tables
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephSilber committed Aug 11, 2016
1 parent 832b8a2 commit 558f693
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions migrations/create_bouncer_tables.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public function up()
Schema::create(Models::table('abilities'), function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('title')->nullable();
$table->integer('entity_id')->unsigned()->nullable();
$table->string('entity_type')->nullable();
$table->timestamps();
Expand All @@ -27,6 +28,7 @@ public function up()
Schema::create(Models::table('roles'), function (Blueprint $table) {
$table->increments('id');
$table->string('name')->unique();
$table->string('title')->nullable();
$table->timestamps();
});

Expand Down

0 comments on commit 558f693

Please sign in to comment.