Class: AddApiKeysTable
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddApiKeysTable
- Defined in:
- db/migrate/20110527000001_add_api_keys_table.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
8 9 10 |
# File 'db/migrate/20110527000001_add_api_keys_table.rb', line 8 def self.down drop_table :api_keys end |
.up ⇒ Object
2 3 4 5 6 7 |
# File 'db/migrate/20110527000001_add_api_keys_table.rb', line 2 def self.up create_table :api_keys do |t| t.text :token t. end end |