metasploit-framework/data/sql/migrate/20110527000001_add_api_keys...

13 lines
185 B
Ruby
Raw Normal View History

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