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

13 lines
268 B
Ruby

class CreateArchiveNewsletters < ActiveRecord::Migration
def change
create_table :archive_newsletters do |t|
t.references :newsletter, index: true
t.string :title
t.text :content
t.string :email_from
t.timestamps
end
end
end