Skip to content

Commit

Permalink
add audit_application column for test table
Browse files Browse the repository at this point in the history
  • Loading branch information
mshimizu-oc committed Dec 14, 2023
1 parent 0e41cea commit 3f6359c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/db/version_1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
t.column :changes, :text
t.column :version, :integer, default: 0
t.column :created_at, :datetime
t.column :audit_application, :string
end

add_index :audits, [:auditable_id, :auditable_type], name: "auditable_index"
Expand Down
1 change: 1 addition & 0 deletions test/db/version_2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
t.column :version, :integer, default: 0
t.column :comment, :string
t.column :created_at, :datetime
t.column :audit_application, :string
end

add_index :audits, [:auditable_id, :auditable_type], name: "auditable_index"
Expand Down
1 change: 1 addition & 0 deletions test/db/version_3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
t.column :version, :integer, default: 0
t.column :comment, :string
t.column :created_at, :datetime
t.column :audit_application, :string
end

add_index :audits, [:auditable_id, :auditable_type], name: "auditable_index"
Expand Down
1 change: 1 addition & 0 deletions test/db/version_4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
t.column :comment, :string
t.column :created_at, :datetime
t.column :remote_address, :string
t.column :audit_application, :string
end

add_index :audits, [:auditable_id, :auditable_type], name: "auditable_index"
Expand Down
1 change: 1 addition & 0 deletions test/db/version_5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
t.column :remote_address, :string
t.column :association_id, :integer
t.column :association_type, :string
t.column :audit_application, :string
end
end
1 change: 1 addition & 0 deletions test/db/version_6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
t.column :remote_address, :string
t.column :associated_id, :integer
t.column :associated_type, :string
t.column :audit_application, :string
end

add_index :audits, [:auditable_type, :auditable_id], name: "auditable_index"
Expand Down

0 comments on commit 3f6359c

Please # to comment.