mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Added Subscription model to send emails
This commit is contained in:
parent
ac25561523
commit
41fc21f7f4
5 changed files with 23 additions and 2 deletions
9
db/migrate/20140724153520_create_subscriptions.rb
Normal file
9
db/migrate/20140724153520_create_subscriptions.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class CreateSubscriptions < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :subscriptions do |t|
|
||||
t.belongs_to :user
|
||||
t.belongs_to :conference
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue