Don't use backticks as this breaks in Postgres
This commit is contained in:
@@ -28,7 +28,7 @@ class AlterTableIncidentsAddOccurredAtColumn extends Migration
|
||||
});
|
||||
|
||||
// We need a better way of handling data migrations...
|
||||
DB::update('UPDATE incidents SET `occurred_at` = `created_at`');
|
||||
DB::update('UPDATE incidents SET occurred_at = created_at');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user