adds date to poll_officer_assignments

This commit is contained in:
Juanjo Bazán
2016-12-27 17:43:44 +01:00
parent a78fe197e9
commit 15b072a983
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
class AddDateToOfficerAssignment < ActiveRecord::Migration
def change
add_column :poll_officer_assignments, :date, :datetime
end
end

View File

@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20161207181001) do
ActiveRecord::Schema.define(version: 20161227140109) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -295,6 +295,7 @@ ActiveRecord::Schema.define(version: 20161207181001) do
t.integer "officer_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.datetime "date"
end
create_table "poll_officers", force: :cascade do |t|