1c4bf3e1e0
Allow granting specific accounts more storage via an account_storage_exceptions table in the saas DB, without relying on the blanket staff bypass.
11 lines
304 B
Ruby
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
|