Project

General

Profile

Download (267 Bytes) Statistics
| Branch: | Tag: | Revision:
class CreateLookupKeys < ActiveRecord::Migration
def up
create_table :lookup_keys do |t|
t.string :key
t.timestamps
end
add_index :lookup_keys, :key
end

def down
remove_index :lookup_keys, :key
drop_table :lookup_keys
end
end
(27-27/282)