refs #401 migration issue solved (not support dbal column type)
This commit is contained in:
parent
6f2c936a73
commit
26ac0acf61
@ -13,27 +13,27 @@ class ModifyEnabledColumn extends Migration
|
|||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
Schema::table('accounts', function (Blueprint $table) {
|
Schema::table('accounts', function (Blueprint $table) {
|
||||||
$table->tinyInteger('enabled')->default(1)->change();
|
$table->boolean('enabled')->default(1)->change();
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('categories', function (Blueprint $table) {
|
Schema::table('categories', function (Blueprint $table) {
|
||||||
$table->tinyInteger('enabled')->default(1)->change();
|
$table->boolean('enabled')->default(1)->change();
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('currencies', function (Blueprint $table) {
|
Schema::table('currencies', function (Blueprint $table) {
|
||||||
$table->tinyInteger('enabled')->default(1)->change();
|
$table->boolean('enabled')->default(1)->change();
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('items', function (Blueprint $table) {
|
Schema::table('items', function (Blueprint $table) {
|
||||||
$table->tinyInteger('enabled')->default(1)->change();
|
$table->boolean('enabled')->default(1)->change();
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('customers', function (Blueprint $table) {
|
Schema::table('customers', function (Blueprint $table) {
|
||||||
$table->tinyInteger('enabled')->default(1)->change();
|
$table->boolean('enabled')->default(1)->change();
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('vendors', function (Blueprint $table) {
|
Schema::table('vendors', function (Blueprint $table) {
|
||||||
$table->tinyInteger('enabled')->default(1)->change();
|
$table->boolean('enabled')->default(1)->change();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user