creates polling officers from admin

This commit is contained in:
rgarcia
2016-09-14 13:53:35 +02:00
parent 76cd435808
commit c9b8a58e3f
19 changed files with 216 additions and 2 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: 20160803154011) do
ActiveRecord::Schema.define(version: 20160914110039) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -270,6 +270,14 @@ ActiveRecord::Schema.define(version: 20160803154011) do
add_index "organizations", ["user_id"], name: "index_organizations_on_user_id", using: :btree
create_table "poll_officers", force: :cascade do |t|
t.integer "user_id"
end
create_table "polls", force: :cascade do |t|
t.string "name"
end
create_table "proposal_notifications", force: :cascade do |t|
t.string "title"
t.text "body"