|
|
|
@ -59,19 +59,19 @@ ActiveRecord::Schema.define(version: 20160616190823) do
|
|
|
|
|
add_index "cities", ["name"], name: "cities_name"
|
|
|
|
|
|
|
|
|
|
create_table "events", force: :cascade do |t|
|
|
|
|
|
t.string "title", limit: 255, default: "", null: false
|
|
|
|
|
t.text "description", limit: 65535, null: false
|
|
|
|
|
t.datetime "start_time", null: false
|
|
|
|
|
t.datetime "end_time", null: false
|
|
|
|
|
t.string "title", limit: 255, default: "", null: false
|
|
|
|
|
t.text "description", limit: 65535, null: false
|
|
|
|
|
t.datetime "start_time", null: false
|
|
|
|
|
t.datetime "end_time", null: false
|
|
|
|
|
t.string "city", limit: 255, default: ""
|
|
|
|
|
t.integer "region_id", limit: 4, default: 0, null: false
|
|
|
|
|
t.integer "locality", limit: 4, default: 0, null: false
|
|
|
|
|
t.string "url", limit: 255, default: "", null: false
|
|
|
|
|
t.string "contact", limit: 255, default: "", null: false
|
|
|
|
|
t.string "submitter", limit: 255, default: "", null: false
|
|
|
|
|
t.integer "moderated", limit: 4, default: 0, null: false
|
|
|
|
|
t.string "tags", limit: 255, default: "", null: false
|
|
|
|
|
t.string "secret", limit: 255, default: "", null: false
|
|
|
|
|
t.integer "region_id", limit: 4, default: 0, null: false
|
|
|
|
|
t.integer "locality", limit: 4, default: 0, null: false
|
|
|
|
|
t.string "url", limit: 255, default: "", null: false
|
|
|
|
|
t.string "contact", limit: 255, default: "", null: false
|
|
|
|
|
t.string "submitter", limit: 255, default: "", null: false
|
|
|
|
|
t.integer "moderated", limit: 4, default: 0, null: false
|
|
|
|
|
t.string "tags", limit: 255, default: "", null: false
|
|
|
|
|
t.string "secret", limit: 255, default: "", null: false
|
|
|
|
|
t.datetime "decision_time"
|
|
|
|
|
t.datetime "submission_time"
|
|
|
|
|
t.string "moderator_mail_id", limit: 32
|
|
|
|
@ -79,11 +79,11 @@ ActiveRecord::Schema.define(version: 20160616190823) do
|
|
|
|
|
t.text "address", limit: 65535
|
|
|
|
|
t.float "latitude", limit: 24
|
|
|
|
|
t.float "longitude", limit: 24
|
|
|
|
|
t.integer "lock_version", limit: 4, default: 0, null: false
|
|
|
|
|
t.integer "lock_version", limit: 4, default: 0, null: false
|
|
|
|
|
t.string "place_name", limit: 255
|
|
|
|
|
t.integer "count", default: 1
|
|
|
|
|
t.integer "repeat", default: 0
|
|
|
|
|
t.text "rule", default: "daily"
|
|
|
|
|
t.text "rule"
|
|
|
|
|
t.integer "event_id"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|