adds poll/booth_assigments

This commit is contained in:
Juanjo Bazán
2016-11-30 13:46:05 +01:00
parent 9583c052f0
commit bd59ba3b82
5 changed files with 27 additions and 1 deletions

View File

@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20161130122604) do
ActiveRecord::Schema.define(version: 20161130123347) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -278,6 +278,13 @@ ActiveRecord::Schema.define(version: 20161130122604) do
add_index "organizations", ["user_id"], name: "index_organizations_on_user_id", using: :btree
create_table "poll_booth_assignments", force: :cascade do |t|
t.integer "booth_id"
t.integer "poll_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "poll_booths", force: :cascade do |t|
t.string "name"
t.string "location"