diff --git a/src/Helpers/migrations_helpers.php b/src/Helpers/migrations_helpers.php index c1f408cf3..851a047e3 100644 --- a/src/Helpers/migrations_helpers.php +++ b/src/Helpers/migrations_helpers.php @@ -79,7 +79,7 @@ function createDefaultTranslationsTableFields($table, $tableNameSingular, $table $table->softDeletes(); $table->timestamps(); $table->string('locale', 7)->index(); - $table->boolean('active'); + $table->boolean('active')->default(false); $table->foreign("{$tableNameSingular}_id", "fk_{$tableNameSingular}_translations_{$tableNameSingular}_id")->references('id')->on($tableNamePlural)->onDelete('CASCADE'); $table->unique(["{$tableNameSingular}_id", 'locale'], "{$tableNameSingular}_id_locale_unique");