-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: added seed file for bid_status_histories #61
base: main
Are you sure you want to change the base?
feat: added seed file for bid_status_histories #61
Conversation
(uuid_generate_v4(), (SELECT id FROM bid_requests LIMIT 1 OFFSET 0),, 'Submitted', 'Bid request has been submitted.', (SELECT id FROM users WHERE username = 'user'), NOW()), | ||
(uuid_generate_v4(), (SELECT id FROM bid_requests LIMIT 1 OFFSET 1), 'Reviewed', 'Initial review completed by team lead.', (SELECT id FROM users WHERE username = 'team-lead'), NOW() - INTERVAL '1 day'), | ||
(uuid_generate_v4(), (SELECT id FROM bid_requests LIMIT 1 OFFSET 2), 'Approved', 'Bid request approved by manager.', (SELECT id FROM users WHERE username = 'manager'), NOW() - INTERVAL '2 days'), | ||
(uuid_generate_v4(), (SELECT id FROM bid_requests LIMIT 1 OFFSET 3), 'In_Progress', 'Work on the bid has commenced.', (SELECT id FROM users WHERE username = 'user'), NOW() - INTERVAL '3 days'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rephrase this as:
'Work on the bid has begun.'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noted
package.json
Outdated
"backend": "file:", | ||
"cucumber-html-reporter": "^5.5.0", | ||
"dotenv": "^16.4.5", | ||
"express": "^4.21.1", | ||
"express-rate-limit": "^7.4.1", | ||
"graphql-request": "^7.1.2", | ||
"nodemailer": "^6.9.16", | ||
"winston": "^3.17.0", | ||
"cucumber-html-reporter": "^5.5.0" | ||
"winston": "^3.17.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please undo these changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, please review changes
Done with the changes |
Thank you @ikezuby2012 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear @ikezuby2012, the package-lock.json is still modified, can you please undo that's changes, btw we need almost 20 rows to test the pagination, thanks and regards
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please, keep us updated about the request changes
done, please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Dear @ikezuby2012 hope you're doing well
we noticed that when the query is executed, throwing an error: "message": "column \"username\" does not exist"
The username column must be replaced with the email column for it to work.
Whatever you need just let Us know, thanks
Please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ikezuby2012, it still doesn't work, because the email table does not exist
could you make the query something like this:
INSERT INTO bid_status_histories (id, bid_request_id, status, notes, changed_by, created_at) VALUES (uuid_generate_v4(), (SELECT id FROM bid_requests LIMIT 1 OFFSET 0), 'Submitted', 'Bid request has been submitted.', (SELECT id FROM users LIMIT 1 OFFSET 0), NOW()),
and the following,
Regards
check now |
Pull Request for SafeTrust - Close Issue
β Pull Request Information
feat: added seed file for bid_status_histories table at seeds/safetrust folder
Add here some information
π Summary of Changes
π Testing
NOT NEEDED!
Evidence Before Solution
Evidence After Solution
π Related Issue
This pull request will close # [Issue Number] upon merging.
This Pull request will close #53 upon merging
π Thank you for reviewing this PR! π