diff --git a/database/migrations/2016_03_14_102343_AddModuleSettings.php b/database/migrations/2016_03_14_102343_AddModuleSettings.php new file mode 100644 index 00000000..6c4b1397 --- /dev/null +++ b/database/migrations/2016_03_14_102343_AddModuleSettings.php @@ -0,0 +1,35 @@ +text('module_settings') + ->nullable() + ->default(null) + ->comment('JSON serialized object with configuration of given module.'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('modules', function (Blueprint $table) { + $table->dropColumn('module_settings'); + }); + } +}