-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db9bc01
commit bba1b82
Showing
1 changed file
with
1 addition
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
-- User mockup data | ||
ALTER TABLE talk MODIFY comment_count BIGINT NOT NULL DEFAULT 0; | ||
ALTER TABLE opinion MODIFY comment_count BIGINT NOT NULL DEFAULT 0; | ||
|
||
INSERT INTO users (agree_terms, email, nick_name, password, category) | ||
VALUES (TRUE, '[email protected]', 'UserOne', 'password1', 'BACKEND'), | ||
|
@@ -109,59 +109,3 @@ values (1,1), | |
(4,1), | ||
(1,2), | ||
(6,2); | ||
|
||
INSERT INTO talk (question, view, user_id) VALUES | ||
('What is the best programming language?', 100, 1), | ||
('How to learn Python quickly?', 50, 2), | ||
('What are the best practices for REST API design?', 150, 3), | ||
('How to optimize SQL queries?', 80, 4), | ||
('What is the future of AI?', 200, 5), | ||
('How to improve coding skills?', 120, 6), | ||
('What are the top programming languages in 2024?', 70, 7), | ||
('How to manage big data effectively?', 90, 8), | ||
('What is the best way to learn data science?', 130, 9), | ||
('How to build a chatbot?', 40, 10), | ||
('What is cloud computing?', 60, 11), | ||
('How to secure web applications?', 180, 12), | ||
('What is the difference between AI and ML?', 110, 13), | ||
('How to get started with machine learning?', 140, 14), | ||
('What is the best way to learn JavaScript?', 30, 15), | ||
('How to use Docker effectively?', 170, 16), | ||
('What are microservices?', 20, 17), | ||
('How to build scalable web applications?', 190, 18), | ||
('What is the best way to learn programming?', 160, 19), | ||
('How to get started with programming?', 10, 20); | ||
# | ||
# INSERT INTO comment (content, heart, talk_id) VALUES | ||
# ('Great question! I think the best programming language is Python.', 10, 1), | ||
# ('I recommend starting with online tutorials.', 5, 1), | ||
# ('REST API design should follow best practices for scalability.', 15, 2), | ||
# ('Optimizing SQL queries involves indexing and query planning.', 8, 3), | ||
# ('AI will continue to grow and integrate into various industries.', 20, 4), | ||
# ('Practice coding every day to improve your skills.', 12, 5), | ||
# ('Top programming languages in 2024 will likely include Python and JavaScript.', 7, 6), | ||
# ('Big data management requires effective data storage solutions.', 9, 7), | ||
# ('Start with the basics and build your way up in data science.', 13, 8), | ||
# ('Building a chatbot requires knowledge of NLP.', 4, 9), | ||
# ('Cloud computing is about delivering computing services over the internet.', 6, 10), | ||
# ('Web application security involves regular updates and monitoring.', 18, 11), | ||
# ('AI refers to artificial intelligence, whereas ML is a subset of AI.', 11, 12), | ||
# ('Start with a simple machine learning project to get hands-on experience.', 14, 13), | ||
# ('JavaScript can be learned effectively through practice.', 3, 14), | ||
# ('Docker is a powerful tool for containerizing applications.', 17, 15), | ||
# ('Microservices are small, independent services that work together.', 2, 16), | ||
# ('Scalable web applications can handle increasing loads efficiently.', 19, 17), | ||
# ('Programming is best learned through consistent practice.', 16, 18), | ||
# ('Begin programming with easy-to-understand languages like Python.', 1, 19), | ||
# ('Effective big data management requires good infrastructure.', 10, 7), | ||
# ('REST APIs should be stateless for better performance.', 7, 2), | ||
# ('NLP is essential for building conversational chatbots.', 9, 9), | ||
# ('Security is a critical aspect of web development.', 4, 11), | ||
# ('Machine learning involves training models with data.', 6, 13), | ||
# ('JavaScript frameworks make web development easier.', 12, 14), | ||
# ('Containers help in isolating applications.', 15, 15), | ||
# ('Microservices architecture is great for large applications.', 8, 16), | ||
# ('Scaling applications involves optimizing resources.', 20, 17), | ||
# ('AI will continue to evolve and influence many fields.', 5, 4); | ||
|
||
|