Individual: add a second birthdate which is a date
This commit is contained in:
parent
0bf389b849
commit
0093db18a1
2 changed files with 7 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
class AddSecondBirthdateColumnToIndividual < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
add_column :individuals, :second_birthdate, :date
|
||||||
|
end
|
||||||
|
end
|
|
@ -10,7 +10,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: 2018_03_23_101837) do
|
ActiveRecord::Schema.define(version: 2018_04_03_094135) 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"
|
||||||
|
@ -366,6 +366,7 @@ ActiveRecord::Schema.define(version: 2018_03_23_101837) do
|
||||||
t.string "gender"
|
t.string "gender"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
|
t.date "second_birthdate"
|
||||||
t.index ["dossier_id"], name: "index_individuals_on_dossier_id"
|
t.index ["dossier_id"], name: "index_individuals_on_dossier_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue