pr_01m47d24b0e6n91zwymwxg0vpx/services/billing/migrations/0017_flagon_comped.sql
| 1 | -- Flagon, Inc. builds and runs g1t; its workspace runs comped, as |
| 2 | -- g1t's own workspace does. The founder's personal workspace stays comped |
| 3 | -- too (see 0008); either can be changed in sudo.g1t.sh. |
| 4 | INSERT INTO billing_accounts (id, kind, name, terms_kind, note, terms_set_by, terms_set_at, created_by, created_at) |
| 5 | VALUES ('ws_flagon-io', 'workspace', 'flagon-io', 'comped', 'Flagon, Inc., which builds g1t', 'migration', '2026-10-05T00:00:00Z', 'migration', '2026-10-05T00:00:00Z') |
| 6 | ON CONFLICT (id) DO UPDATE SET terms_kind = 'comped', note = excluded.note, terms_set_by = 'migration', terms_set_at = excluded.terms_set_at; |
| 7 | INSERT INTO admin_actions (id, account, action, detail, by, created_at) |
| 8 | VALUES ('adm_migration_flagon_io', 'ws_flagon-io', 'terms', 'standard → comped: Flagon, Inc., which builds g1t', 'migration', '2026-10-05T00:00:00Z') |
| 9 | ON CONFLICT (id) DO NOTHING; |