Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Зуев Егор
/
wiki.dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
robert
2016-05-25 23:52:43 +0200
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
4acf0c4ee061c5db0f80573f0931dfa0760df9c9
4acf0c4e
1 parent
9d3f329b
Making sure MyISAM is set for the tables that need it for new installtions that are using mariadb.
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
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
database/migrations/2015_07_12_114933_create_books_table.php
View file @
4acf0c4
...
...
@@ -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
();
...
...
database/migrations/2015_07_12_190027_create_pages_table.php
View file @
4acf0c4
...
...
@@ -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'
);
...
...
database/migrations/2015_07_27_172342_create_chapters_table.php
View file @
4acf0c4
...
...
@@ -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
();
...
...
Please
register
or
sign in
to post a comment