Files
fizzy/saas/db/migrate/20260319142914_create_account_storage_exceptions.rb
T
Jorge Manrubia 1c4bf3e1e0 Add per-account storage exceptions for SaaS (#2733)
Allow granting specific accounts more storage via an
account_storage_exceptions table in the saas DB, without
relying on the blanket staff bypass.
2026-03-19 15:36:36 +01:00

11 lines
304 B
Ruby

class CreateAccountStorageExceptions < ActiveRecord::Migration[8.2]
def change
create_table :account_storage_exceptions, id: :uuid do |t|
t.references :account, null: false, type: :uuid, index: { unique: true }
t.bigint :bytes_allowed, null: false
t.timestamps
end
end
end