spec/dummy/db/schema.rb in social_framework-0.0.2 vs spec/dummy/db/schema.rb in social_framework-0.0.3

- 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: 20160530123314) do +ActiveRecord::Schema.define(version: 20160516122649) do create_table "social_framework_edges", force: :cascade do |t| t.integer "origin_id", null: false t.integer "destiny_id", null: false t.string "label", null: false @@ -61,18 +61,10 @@ end add_index "social_framework_participant_events", ["event_id"], name: "index_social_framework_participant_events_on_event_id" add_index "social_framework_participant_events", ["schedule_id"], name: "index_social_framework_participant_events_on_schedule_id" - create_table "social_framework_repeats", force: :cascade do |t| - t.integer "event_id", null: false - t.string "type", null: false - t.integer "frequency", default: 1, null: false - t.datetime "created_at", null: false - t.datetime "updated_at", null: false - end - create_table "social_framework_routes", force: :cascade do |t| t.string "title", null: false t.integer "distance", null: false t.string "mode_of_travel", default: "driving", null: false t.datetime "created_at", null: false @@ -95,22 +87,22 @@ end add_index "social_framework_schedules", ["user_id"], name: "index_social_framework_schedules_on_user_id", unique: true create_table "social_framework_users", force: :cascade do |t| - t.string "username", default: "", null: false - t.string "email", default: "", null: false - t.string "encrypted_password", default: "", null: false + t.string "username", null: false + t.string "email", null: false + t.string "encrypted_password", null: false t.string "reset_password_token" t.datetime "reset_password_sent_at" t.datetime "remember_created_at" - t.integer "sign_in_count", default: 0, null: false + t.integer "sign_in_count", default: 0, null: false t.datetime "current_sign_in_at" t.datetime "last_sign_in_at" t.string "current_sign_in_ip" t.string "last_sign_in_ip" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false end add_index "social_framework_users", ["email"], name: "index_social_framework_users_on_email", unique: true add_index "social_framework_users", ["reset_password_token"], name: "index_social_framework_users_on_reset_password_token", unique: true add_index "social_framework_users", ["username"], name: "index_social_framework_users_on_username", unique: true