Changes between Version 3 and Version 4 of ImportantUseCase1
- Timestamp:
- 01/21/22 22:12:32 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ImportantUseCase1
v3 v4 24 24 25 25 {{{ 26 UPDATE project.users 27 SET email_verified_at = now(),updated_at = now() 28 WHERE id=6; 26 update project.artists 27 set admin_verified_at = now() 28 where user_id = ( 29 select u.id from users u 30 where u.email = 'test_artist@mail.com' 31 ); 29 32 30 33 INSERT INTO project.artists (user_id,birth_date,city,country,artist_type_id) 31 VALUES (6,'2000-01-01','Skopje','North Macedonia',1); 34 VALUES (( 35 select u.id from users u 36 where u.email = 'test_artist@mail.com' 37 ),'2000-01-01','Skopje','North Macedonia',1); 32 38 }}} 33 39 … … 39 45 UPDATE project.artists 40 46 SET admin_verified_at = now() 41 WHERE user_id = 6; 47 WHERE user_id = ( 48 select u.id from users u 49 where u.email = 'test_artist@mail.com' 50 ); 42 51 }}} 43 52