Skip to content

Commit b1f5c63

Browse files
authored
Merge pull request #58 from drewroberts/drewroberts/feature/54-location-based-migration
Update Migration for Location Based Pages #54
2 parents 585059a + e58ddf6 commit b1f5c63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)