kiddhustle
3 years ago
10 changed files with 1044 additions and 184 deletions
@ -0,0 +1,14 @@ |
|||||||
|
class AddAgeKnownToCaseLogs < ActiveRecord::Migration[7.0] |
||||||
|
def change |
||||||
|
change_table :case_logs, bulk: true do |t| |
||||||
|
t.column :age1_known, :integer |
||||||
|
t.column :age2_known, :integer |
||||||
|
t.column :age3_known, :integer |
||||||
|
t.column :age4_known, :integer |
||||||
|
t.column :age5_known, :integer |
||||||
|
t.column :age6_known, :integer |
||||||
|
t.column :age7_known, :integer |
||||||
|
t.column :age8_known, :integer |
||||||
|
end |
||||||
|
end |
||||||
|
end |
@ -0,0 +1,5 @@ |
|||||||
|
class AddEthnicGroup < ActiveRecord::Migration[7.0] |
||||||
|
def change |
||||||
|
add_column :case_logs, :ethnic_group, :integer |
||||||
|
end |
||||||
|
end |
@ -0,0 +1,5 @@ |
|||||||
|
class AddEthnicOther < ActiveRecord::Migration[7.0] |
||||||
|
def change |
||||||
|
add_column :case_logs, :ethnic_other, :string |
||||||
|
end |
||||||
|
end |
@ -0,0 +1,13 @@ |
|||||||
|
class AddDetailsKnownToCaseLogs < ActiveRecord::Migration[7.0] |
||||||
|
def change |
||||||
|
change_table :case_logs, bulk: true do |t| |
||||||
|
t.column :details_known_2, :integer |
||||||
|
t.column :details_known_3, :integer |
||||||
|
t.column :details_known_4, :integer |
||||||
|
t.column :details_known_5, :integer |
||||||
|
t.column :details_known_6, :integer |
||||||
|
t.column :details_known_7, :integer |
||||||
|
t.column :details_known_8, :integer |
||||||
|
end |
||||||
|
end |
||||||
|
end |
Loading…
Reference in new issue