4e09352c09
We skip the QB code and we fill external account ids automatically on creation with a sequence See: https://github.com/basecamp/fizzy-saas/pull/7
10 lines
250 B
Ruby
10 lines
250 B
Ruby
class CreateAccountExternalIdSequences < ActiveRecord::Migration[8.0]
|
|
def change
|
|
create_table :account_external_id_sequences, id: :uuid do |t|
|
|
t.bigint :value, null: false, default: 0
|
|
|
|
t.index :value, unique: true
|
|
end
|
|
end
|
|
end
|