12 lines
217 B
Ruby
12 lines
217 B
Ruby
![]() |
class DropAccessTokensPlaintextToken < ActiveRecord::Migration
|
||
|
tag :postdeploy
|
||
|
|
||
|
def self.up
|
||
|
remove_column :access_tokens, :token
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
add_column :access_tokens, :token, :string
|
||
|
end
|
||
|
end
|