File tree 1 file changed +44
-0
lines changed
coderd/database/migrations/testdata/fixtures
1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ INSERT INTO
2
+ users (
3
+ id,
4
+ email,
5
+ username,
6
+ hashed_password,
7
+ created_at,
8
+ updated_at,
9
+ status,
10
+ rbac_roles,
11
+ login_type,
12
+ avatar_url,
13
+ deleted,
14
+ last_seen_at,
15
+ quiet_hours_schedule,
16
+ theme_preference,
17
+ name,
18
+ github_com_user_id,
19
+ hashed_one_time_passcode,
20
+ one_time_passcode_expires_at
21
+ )
22
+ VALUES (
23
+ ' 5755e622-fadd-44ca-98da-5df070491844' , -- uuid
24
+ ' test@example.com' ,
25
+ ' testuser' ,
26
+ ' hashed_password' ,
27
+ ' 2024-01-01 00:00:00' ,
28
+ ' 2024-01-01 00:00:00' ,
29
+ ' active' ,
30
+ ' {}' ,
31
+ ' password' ,
32
+ ' ' ,
33
+ false,
34
+ ' 2024-01-01 00:00:00' ,
35
+ ' ' ,
36
+ ' ' ,
37
+ ' ' ,
38
+ 123 ,
39
+ NULL ,
40
+ NULL
41
+ );
42
+
43
+ UPDATE users SET status = ' dormant' , updated_at = ' 2024-01-01 01:00:00' WHERE id = ' 5755e622-fadd-44ca-98da-5df070491844' ;
44
+ UPDATE users SET deleted = true, updated_at = ' 2024-01-01 02:00:00' WHERE id = ' 5755e622-fadd-44ca-98da-5df070491844' ;
You can’t perform that action at this time.
0 commit comments