Files
Dena/db/migrate/20180215144645_refactor_authentication_token.rb
2026-08-13 19:50:53 +03:30

10 lines
240 B
Ruby

# encoding: UTF-8
# frozen_string_literal: true
class RefactorAuthenticationToken < ActiveRecord::Migration[4.2]
def change
change_column :authentications, :secret, :text
rename_column :authentications, :secret, :token
end
end