pic_vert_app/db/migrate/20141030163836_create_mail_archives.rb
2014-10-30 19:09:42 +01:00

16 lines
384 B
Ruby

class CreateMailArchives < ActiveRecord::Migration
def change
create_table :mail_archives do |t|
t.references :newsletter, index: true
t.references :archive_newsletter, index: true
t.string :email
t.references :sheet, index: true
t.references :person, index: true
t.string :token
t.boolean :readed
t.timestamps
end
end
end