Autofix Rubocop Style/StringLiterals (#23695)
This commit is contained in:
parent
ac3561098e
commit
81ad6c2e39
76 changed files with 277 additions and 359 deletions
|
@ -10,7 +10,7 @@ class AccountIdsToTimestampIds < ActiveRecord::Migration[5.1]
|
|||
end
|
||||
|
||||
def down
|
||||
execute("LOCK accounts")
|
||||
execute('LOCK accounts')
|
||||
execute("SELECT setval('accounts_id_seq', (SELECT MAX(id) FROM accounts))")
|
||||
execute("ALTER TABLE accounts ALTER COLUMN id SET DEFAULT nextval('accounts_id_seq')")
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue