Invites model,controller and views are initialized. add datepicker and selectize in invites#new calender is added for end date field and selectize is added for emails field to allow multiple emails in field
12 lines
239 B
Ruby
12 lines
239 B
Ruby
class CreateInvites < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :invites do |t|
|
|
t.integer :conference_id
|
|
t.integer :user_id
|
|
t.date :end_date
|
|
t.text :invite_for
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|