Browse Source
* add fields for deriving startdate * Add test for inferring startdate, fix other tests * infer day, month, year insteadpull/162/head^2
Dushan
3 years ago
committed by
GitHub
6 changed files with 37 additions and 1 deletions
@ -0,0 +1,9 @@ |
|||||||
|
class AddDayMonthYearFieldsForStartDate < ActiveRecord::Migration[6.1] |
||||||
|
def change |
||||||
|
change_table :case_logs, bulk: true do |t| |
||||||
|
t.column :day, :integer |
||||||
|
t.column :month, :integer |
||||||
|
t.column :year, :integer |
||||||
|
end |
||||||
|
end |
||||||
|
end |
Loading…
Reference in new issue