diff --git a/database/migrations/2024_05_27_180922_create_forms_is_active_column.php b/database/migrations/2024_05_27_180922_create_forms_is_active_column.php new file mode 100644 index 00000000..1c3da0da --- /dev/null +++ b/database/migrations/2024_05_27_180922_create_forms_is_active_column.php @@ -0,0 +1,34 @@ +boolean('is_active')->default(true)->after('name'); + $table->boolean('is_private')->default(false)->after('name'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('forms', function (Blueprint $table) { + $table->dropColumn('is_active'); + $table->dropColumn('is_private'); + }); + } +};