mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 04:24:08 +00:00
update migration - not recommended
This commit is contained in:
@@ -14,7 +14,7 @@ class AddTimeLimitSettingCreditTable extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('setting_credits', function (Blueprint $table) {
|
||||
$table->integer('time_limit');
|
||||
$table->integer('time_limit')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ class AddTimeLimitSettingCreditTable extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('setting_credits', function (Blueprint $table) {
|
||||
// $table->dropColumn('time_limit');
|
||||
$table->dropColumn('time_limit');
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user