initialize invites
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
This commit is contained in:
parent
a96722b3c3
commit
654760c3fc
8 changed files with 77 additions and 2 deletions
12
db/migrate/20190810082925_create_invites.rb
Normal file
12
db/migrate/20190810082925_create_invites.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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
|
||||
11
db/schema.rb
11
db/schema.rb
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2019_06_12_161235) do
|
||||
ActiveRecord::Schema.define(version: 2019_08_10_082925) do
|
||||
|
||||
create_table "answers", force: :cascade do |t|
|
||||
t.string "title"
|
||||
|
|
@ -264,6 +264,15 @@ ActiveRecord::Schema.define(version: 2019_06_12_161235) do
|
|||
t.datetime "created_at"
|
||||
end
|
||||
|
||||
create_table "invites", force: :cascade do |t|
|
||||
t.integer "conference_id"
|
||||
t.integer "user_id"
|
||||
t.date "end_date"
|
||||
t.text "invite_for"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
end
|
||||
|
||||
create_table "lodgings", force: :cascade do |t|
|
||||
t.string "name"
|
||||
t.text "description"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue