mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Implements Contacts
This commit is contained in:
parent
4955b2b7b8
commit
eb3e6898d2
9 changed files with 156 additions and 5 deletions
17
db/migrate/20140731153332_create_contacts.rb
Normal file
17
db/migrate/20140731153332_create_contacts.rb
Normal 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
|
||||
23
db/schema.rb
23
db/schema.rb
|
|
@ -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|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue