Open ju-ki opened 2 months ago
ChatGPTでベースを作成。一旦これで作成
Stores user information.
Stores blog posts.
Stores comments on blog posts.
Stores categories for blog posts.
Stores tags for blog posts.
Associative table for many-to-many relationship between posts and tags.
Stores likes on blog posts.
Stores view counts for blog posts.
ChatGPTでベースを作成。一旦これで作成
Users Table
Stores user information.
Posts Table
Stores blog posts.
Comments Table
Stores comments on blog posts.
Categories Table
Stores categories for blog posts.
Tags Table
Stores tags for blog posts.
Post_Tags Table
Associative table for many-to-many relationship between posts and tags.
Likes Table
Stores likes on blog posts.
Views Table
Stores view counts for blog posts.
Relationships