123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- ActiveRecord::Schema.define(version: 20161208092632) do
- create_table "activities", force: :cascade do |t|
- t.string "public_name"
- t.string "secret_name"
- t.string "description"
- t.string "location"
- t.datetime "start"
- t.datetime "end"
- t.datetime "deadline"
- t.boolean "show_hidden"
- t.integer "group_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.index ["group_id"], name: "index_activities_on_group_id"
- end
- create_table "groups", force: :cascade do |t|
- t.string "name"
- t.string "type"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
- create_table "members", force: :cascade do |t|
- t.integer "person_id"
- t.integer "group_id"
- t.boolean "is_leader"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.index ["group_id"], name: "index_members_on_group_id"
- t.index ["person_id"], name: "index_members_on_person_id"
- end
- create_table "participants", force: :cascade do |t|
- t.integer "person_id"
- t.integer "activity_id"
- t.boolean "is_organizer"
- t.boolean "attending"
- t.text "notes"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.index ["activity_id"], name: "index_participants_on_activity_id"
- t.index ["person_id"], name: "index_participants_on_person_id"
- end
- create_table "people", force: :cascade do |t|
- t.string "first_name"
- t.string "infix"
- t.string "last_name"
- t.date "birth_date"
- t.string "email"
- t.boolean "is_admin"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.index ["email"], name: "index_people_on_email", unique: true
- end
- create_table "users", force: :cascade do |t|
- t.string "email"
- t.string "password_digest"
- t.string "confirmation_token"
- t.string "password_reset_token"
- t.integer "person_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.index ["email"], name: "index_users_on_email", unique: true
- t.index ["person_id"], name: "index_users_on_person_id"
- end
- end
|