class CreatePasswords
Public Instance Methods
change()
click to toggle source
# File db/migrate/20111128183630_create_passwords.rb, line 2 def change create_table :passwords do |t| t.string :payload t.integer :expire_after_days t.integer :expire_after_views t.boolean :expired, :default => false t.string :url_token t.timestamps end end