maisonarbre_app/db/migrate/20110914090746_create_inscrits.rb
Nicolas Bally 1fa250e0e4 Initial
2011-07-15 12:29:09 +02:00

16 lines
255 B
Ruby

class CreateInscrits < ActiveRecord::Migration
def self.up
create_table :inscrits do |t|
t.string :email
t.string :verify_key
t.boolean :enabled
t.timestamps
end
end
def self.down
drop_table :inscrits
end
end