13 lines
185 B
Ruby
13 lines
185 B
Ruby
|
class AddApiKeysTable < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :api_keys do |t|
|
||
|
t.text :token
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
def self.down
|
||
|
drop_table :api_keys
|
||
|
end
|
||
|
end
|
||
|
|