mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-29 19:18:11 +01:00
Remove incompatible backticks from migration. Closes GH-90
This commit is contained in:
parent
6ffdbc039c
commit
94cebe8d0d
@ -14,7 +14,7 @@ class AlterTableIncidentsRemoveDefaultComponent extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('incidents', function (Blueprint $table) {
|
||||
DB::statement("ALTER TABLE `incidents` CHANGE `component_id` `component_id` TINYINT(4) NOT NULL DEFAULT '0';");
|
||||
DB::statement("ALTER TABLE incidents CHANGE component_id component_id TINYINT(4) NOT NULL DEFAULT '0';");
|
||||
});
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@ class AlterTableIncidentsRemoveDefaultComponent extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('incidents', function (Blueprint $table) {
|
||||
DB::statement("ALTER TABLE `incidents` CHANGE `component_id` `component_id` TINYINT(4) NOT NULL DEFAULT '1';");
|
||||
DB::statement("ALTER TABLE incidents CHANGE component_id component_id TINYINT(4) NOT NULL DEFAULT '1';");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user