mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Page Templates: Changed template field name, added API support
This commit is contained in:
@ -14,7 +14,7 @@ class AddDefaultTemplateToBooks extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('books', function (Blueprint $table) {
|
||||
$table->integer('default_template')->nullable()->default(null);
|
||||
$table->integer('default_template_id')->nullable()->default(null);
|
||||
});
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ class AddDefaultTemplateToBooks extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('books', function (Blueprint $table) {
|
||||
$table->dropColumn('default_template');
|
||||
$table->dropColumn('default_template_id');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user