Skip to content

Commit e58ddf6

Browse files
authored
Add location based boolean to page migration #54
1 parent 585059a commit e58ddf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: database/migrations/2017_05_20_130000_create_pages_table.php

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public function up()
1212
$table->id();
1313
$table->string('slug')->unique()->index();
1414
$table->string('title')->unique();
15+
$table->boolean('location_based')->default('false');
1516
$table->foreignIdFor(app('page'), 'parent_id')->nullable(); // Parent Page
1617
$table->text('content')->nullable(); // Will be written in Markdown.
1718

0 commit comments

Comments
 (0)