]> BookStack Code Mirror - bookstack/commitdiff
Making sure MyISAM is set for the tables that need it for new installtions that are... 118/head
authorrobert <redacted>
Wed, 25 May 2016 21:52:43 +0000 (23:52 +0200)
committerrobert <redacted>
Wed, 25 May 2016 21:52:43 +0000 (23:52 +0200)
database/migrations/2015_07_12_114933_create_books_table.php
database/migrations/2015_07_12_190027_create_pages_table.php
database/migrations/2015_07_27_172342_create_chapters_table.php

index 51fb55c48547f86be43d0929b8d44d414c7e40af..121607f6ad7fedde01e2af6accf5332b621d0fd4 100644 (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();
index b3b2b9244f234e50d79229179f54b86188738e49..5e6e7e812ecd6486b739e23d7c74c9c8dd4fed9a 100644 (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');
index 7974759f26e343f2c75051917ecbfa85324930cd..74594121fc2c425a39c87399812e6a68c8e7de8a 100644 (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();