mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
Migration code style fix [SCI-5828]
This commit is contained in:
parent
e1b0b65465
commit
3e1f0fe109
1 changed files with 3 additions and 1 deletions
|
@ -1,8 +1,10 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require File.expand_path('app/helpers/database_helper')
|
||||
include DatabaseHelper
|
||||
|
||||
class FixExperimentIndices < ActiveRecord::Migration[6.1]
|
||||
include DatabaseHelper
|
||||
|
||||
def up
|
||||
remove_index :experiments, name: 'index_experiments_on_name', column: 'name'
|
||||
|
||||
|
|
Loading…
Reference in a new issue