Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CreateNgFiles < ActiveRecord::Migration
- def self.up
- create_table :ng_files do |t|
- t.string :ng_hash
- t.string :memo
- t.timestamps
- end
- add_index :ng_files, :ng_hash, :unique => true
- end
- def self.down
- drop_table :ng_files
- end
- end
Add Comment
Please, Sign In to add comment