diff --git a/modules/Gallery/Config/.gitkeep b/app/Handlers/Contracts/BaseModuleHandler.php similarity index 100% rename from modules/Gallery/Config/.gitkeep rename to app/Handlers/Contracts/BaseModuleHandler.php diff --git a/database/migrations/2016_08_08_223700_MarkContentManagementModules.php b/database/migrations/2016_08_08_223700_MarkContentManagementModules.php new file mode 100644 index 00000000..5971520e --- /dev/null +++ b/database/migrations/2016_08_08_223700_MarkContentManagementModules.php @@ -0,0 +1,34 @@ +boolean('manages_content') + ->default(true) + ->comment('Does this module support content management?'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('modules', function (Blueprint $table) { + $table->dropColumn('manages_content'); + }); + } +} diff --git a/database/migrations/2016_08_08_225613_MarkCategorizableModules.php b/database/migrations/2016_08_08_225613_MarkCategorizableModules.php new file mode 100644 index 00000000..22bbfe3a --- /dev/null +++ b/database/migrations/2016_08_08_225613_MarkCategorizableModules.php @@ -0,0 +1,33 @@ +boolean('support_categories') + ->default(false) + ->comment('Does this module support categories?'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('modules', function (Blueprint $table) { + $table->dropColumn('support_categories'); + }); + } +}