adds date to poll_officer_assignments
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
class AddDateToOfficerAssignment < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :poll_officer_assignments, :date, :datetime
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# 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
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
@@ -295,6 +295,7 @@ ActiveRecord::Schema.define(version: 20161207181001) do
|
|||||||
t.integer "officer_id"
|
t.integer "officer_id"
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
|
t.datetime "date"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "poll_officers", force: :cascade do |t|
|
create_table "poll_officers", force: :cascade do |t|
|
||||||
|
|||||||
Reference in New Issue
Block a user