-
Notifications
You must be signed in to change notification settings - Fork 0
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
NOT YET #22
NOT YET #22
Conversation
This should be good, but still waiting to add the get all posts from followings once cam's branch is done |
@@ -31,6 +31,7 @@ func main() { | |||
|
|||
routes.SetupUserRoutes(r, db) | |||
routes.SetupETradeRoutes(r, db) | |||
routes.SetupPostRoutes(r, db) |
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.
going to add a change on Cam's branch to. move all of these to helper fyi
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.
just some initial comments / getting code in pre merge
DROP TABLE IF EXISTS posts; | ||
|
||
--Create post type table | ||
CREATE TYPE post_type_enum AS ENUM ( |
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.
For enum can we do Caps / underscore case? IE '1_MONTH_SUM'
Also comment is the stock performance comment right?
post_type post_type_enum NOT NULL, | ||
num_data FLOAT NOT NULL, | ||
ticker_symbol VARCHAR(9), | ||
time_stamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, |
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 think the gorm / sql format for this would be created_at? everything else is good
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.
just submitted
Description
Change below here
[Link to Ticket](insert the link to your ticket inside the parenthesis here)
Please include a summary of the changes and the related issue. Please also include relevant motivation, context, and images! If its a frontend ticket, screenshots are important, if its a backend ticket, please add pictures of relevant postman screenshots or console printouts.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. If they are unit tests, provide the file name the tests are in. If they are not unit tests, describe how you tested the change.
Change below here. If this is a frontend MR, include screenshots
Add here
Checklist