Implements Contacts

This commit is contained in:
Henne Vogelsang 2014-07-31 18:49:46 +02:00
parent 4955b2b7b8
commit eb3e6898d2
9 changed files with 156 additions and 5 deletions

View file

@ -0,0 +1,17 @@
class CreateContacts < ActiveRecord::Migration
def change
create_table :contacts do |t|
t.string :social_tag
t.string :email
t.string :facebook
t.string :googleplus
t.string :twitter
t.string :instagram
t.boolean :public
t.integer :conference_id
t.timestamps
end
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20140724113107) do
ActiveRecord::Schema.define(version: 20140731153332) do
create_table "ahoy_events", force: true do |t|
t.uuid "visit_id"
@ -133,6 +133,19 @@ ActiveRecord::Schema.define(version: 20140724113107) do
t.integer "question_id"
end
create_table "contacts", force: true do |t|
t.string "social_tag"
t.string "email"
t.string "facebook"
t.string "googleplus"
t.string "twitter"
t.string "instagram"
t.boolean "public"
t.integer "conference_id"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "delayed_jobs", force: true do |t|
t.integer "priority", default: 0, null: false
t.integer "attempts", default: 0, null: false
@ -487,8 +500,8 @@ ActiveRecord::Schema.define(version: 20140724113107) do
create_table "venues", force: true do |t|
t.string "guid"
t.text "name", limit: 255
t.text "address", limit: 255
t.text "name"
t.text "address"
t.string "website"
t.text "description"
t.string "offline_map_url"
@ -499,8 +512,8 @@ ActiveRecord::Schema.define(version: 20140724113107) do
t.string "photo_content_type"
t.integer "photo_file_size"
t.datetime "photo_updated_at"
t.boolean "include_venue_in_splash", default: false
t.boolean "include_lodgings_in_splash", default: false
t.boolean "include_venue_in_splash", default: false
t.boolean "include_lodgings_in_splash", default: false
end
create_table "versions", force: true do |t|