Replace the entity slugs on organizations, workspaces, resource pools, and plan ladders with nullable `key` columns and add keys to products, prices, and entitlement sets. Rename `providers.slug` to `provider` and add partial unique indexes for system and org role names. Assign invoice numbers per billing account from a gapless transactional counter; Stripe's number moves to the invoice mapping as an external reference. Seeds, fixtures, and the operator lookup address rows by key, and the returning-login resync no longer blanks a display name when the IdP sends no `name` claim.
30 lines
874 B
Go
30 lines
874 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.29.0
|
|
|
|
package integration
|
|
|
|
import (
|
|
"database/sql"
|
|
"time"
|
|
)
|
|
|
|
type ConfigOverride struct {
|
|
Key string `json:"key"`
|
|
Value string `json:"value"`
|
|
UpdatedBy sql.NullString `json:"updated_by"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|
|
|
|
type Provider struct {
|
|
Provider string `json:"provider"`
|
|
ProviderKind string `json:"provider_kind"`
|
|
DisplayName string `json:"display_name"`
|
|
OperatorSurfacePath sql.NullString `json:"operator_surface_path"`
|
|
Status string `json:"status"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
SuspendedAt sql.NullTime `json:"suspended_at"`
|
|
RetiredAt sql.NullTime `json:"retired_at"`
|
|
}
|