spec/dummy/db/schema.rb in social_networking-0.10.0 vs spec/dummy/db/schema.rb in social_networking-0.11.0
- old
+ new
@@ -9,11 +9,11 @@
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20151211204425) do
+ActiveRecord::Schema.define(version: 20160308201931) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
create_table "activities", force: :cascade do |t|
@@ -34,23 +34,23 @@
t.string "contact_preference"
t.string "study_id"
end
create_table "social_networking_comments", force: :cascade do |t|
- t.integer "participant_id", null: false
- t.string "text", null: false
- t.integer "item_id", null: false
- t.string "item_type", null: false
+ t.integer "participant_id", null: false
+ t.string "text", limit: 1000, null: false
+ t.integer "item_id", null: false
+ t.string "item_type", null: false
t.datetime "created_at"
t.datetime "updated_at"
end
add_index "social_networking_comments", ["item_id", "item_type"], name: "index_social_networking_comments_on_item_id_and_item_type", using: :btree
create_table "social_networking_goals", force: :cascade do |t|
- t.string "description", null: false
- t.integer "participant_id", null: false
+ t.string "description", limit: 1000, null: false
+ t.integer "participant_id", null: false
t.date "due_on"
t.datetime "created_at"
t.datetime "updated_at"
t.datetime "completed_at"
t.datetime "deleted_at"
@@ -77,22 +77,22 @@
add_index "social_networking_nudges", ["created_at"], name: "index_social_networking_nudges_on_created_at", using: :btree
add_index "social_networking_nudges", ["initiator_id"], name: "index_social_networking_nudges_on_initiator_id", using: :btree
add_index "social_networking_nudges", ["recipient_id"], name: "index_social_networking_nudges_on_recipient_id", using: :btree
create_table "social_networking_on_the_mind_statements", force: :cascade do |t|
- t.text "description", null: false
- t.integer "participant_id", null: false
+ t.string "description", limit: 1000, null: false
+ t.integer "participant_id", null: false
t.datetime "created_at"
t.datetime "updated_at"
end
add_index "social_networking_on_the_mind_statements", ["created_at"], name: "on_the_mind_created_at", using: :btree
add_index "social_networking_on_the_mind_statements", ["participant_id"], name: "on_the_mind_participant", using: :btree
create_table "social_networking_profile_answers", force: :cascade do |t|
- t.integer "social_networking_profile_question_id", null: false
+ t.integer "social_networking_profile_question_id", null: false
t.integer "order"
- t.string "answer_text", null: false
+ t.string "answer_text", limit: 1000, null: false
t.datetime "created_at"
t.datetime "updated_at"
t.integer "social_networking_profile_id"
end