Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions db/migrate/20240413100944_create_accountify_organisations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ def change
create_table :accountify_organisations do |t|
t.bigint :tenant_id, null: false

t.integer :lock_version, default: 0, null: false

t.text :name, null: false

t.datetime :deleted_at
Expand Down
2 changes: 2 additions & 0 deletions db/migrate/20240527212747_create_accountify_contacts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ def change
create_table :accountify_contacts do |t|
t.bigint :tenant_id, null: false, index: true

t.integer :lock_version, default: 0, null: false

t.references :organisation, null: false,
foreign_key: { to_table: :accountify_organisations }, index: true

Expand Down
2 changes: 2 additions & 0 deletions db/migrate/20240529212144_create_accountify_invoices.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ def change
create_table :accountify_invoices do |t|
t.bigint :tenant_id, null: false, index: true

t.integer :lock_version, default: 0, null: false

t.references :organisation, null: false,
foreign_key: { to_table: :accountify_organisations }, index: true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ def change
create_table :accountify_invoice_status_summaries do |t|
t.bigint :tenant_id, null: false

t.integer :lock_version, default: 0, null: false

t.references :organisation, null: false,
foreign_key: { to_table: :accountify_organisations }, index: true

Expand Down
4 changes: 4 additions & 0 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading