negos_app/db/migrate/20141030163836_create_mail_archives.rb
Nicolas Bally 772e87ffb7 initial
2015-11-14 00:08:54 +01:00

15 lines
347 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 :customer, index: true
t.string :token
t.boolean :readed
t.timestamps
end
end
end