Actually, there is no need for PGSQL changing on this migration
This commit is contained in:
@@ -13,8 +13,6 @@ class AlterTableSettingsValueLongText extends Migration
|
||||
{
|
||||
if (Config::get('database')['default'] === 'mysql') {
|
||||
DB::statement("ALTER TABLE settings CHANGE `value` `value` LONGTEXT;");
|
||||
} elseif (Config::get('database')['default'] === 'pgsql') {
|
||||
DB::statement("ALTER TABLE settings ALTER COLUMN value value TEXT;");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,8 +25,6 @@ class AlterTableSettingsValueLongText extends Migration
|
||||
{
|
||||
if (Config::get('database')['default'] === 'mysql') {
|
||||
DB::statement("ALTER TABLE settings CHANGE `value` `value` TEXT;");
|
||||
} elseif (Config::get('database')['default'] === 'pgsql') {
|
||||
DB::statement("ALTER TABLE settings ALTER COLUMN value value TEXT;");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user