Merge branch 'master' of git://github.com/rovox/BookStack into rovox-master

This commit is contained in:
Dan Brown 2016-06-04 15:43:08 +01:00
commit 5942d796b5
3 changed files with 3 additions and 0 deletions

View file

@ -13,6 +13,7 @@ class CreateBooksTable extends Migration
public function up()
{
Schema::create('books', function (Blueprint $table) {
$table->engine = 'MyISAM';
$table->increments('id');
$table->string('name');
$table->string('slug')->indexed();

View file

@ -13,6 +13,7 @@ class CreatePagesTable extends Migration
public function up()
{
Schema::create('pages', function (Blueprint $table) {
$table->engine = 'MyISAM';
$table->increments('id');
$table->integer('book_id');
$table->integer('chapter_id');

View file

@ -13,6 +13,7 @@ class CreateChaptersTable extends Migration
public function up()
{
Schema::create('chapters', function (Blueprint $table) {
$table->engine = 'MyISAM';
$table->increments('id');
$table->integer('book_id');
$table->string('slug')->indexed();