mirror of
https://github.com/coder/coder.git
synced 2026-06-04 21:48:22 +00:00
cabb611fd9
Creates a new table `ai_seat_state` to keep track of when users consume an ai_seat. Once a user consumes an AI seat, they will forever in this table (as it stands today).
12 lines
255 B
SQL
12 lines
255 B
SQL
INSERT INTO
|
|
ai_seat_state (
|
|
user_id,
|
|
first_used_at,
|
|
last_used_at,
|
|
last_event_type,
|
|
last_event_description,
|
|
updated_at
|
|
)
|
|
VALUES
|
|
('30095c71-380b-457a-8995-97b8ee6e5307', NOW(), NOW(), 'task'::ai_seat_usage_reason, 'Used for AI task', NOW());
|