Skip to content

teri0328/chat-space

Repository files navigation

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

usersテーブル

Column Type Options
email string null: false
password string null: false
name string null: false index: true

Association

  • has_many :groups, through: :groups_users has_many :groups_users
  • has_many :comments

groupsテーブル

Column Type Options
name string null: false

Association

  • has_many :users, through: :groups_users has_many :groups_users
  • has_many :comments

commentsテーブル

Column Type Options
image text
text text
user references null: false, foreign_key:true
group references null: false, foreign_key: true

Association

  • belongs_to :group
  • belongs_to :user

groups_usersテーブル

Column Type Options
user references null: false, foreign_key: true
group references null: false, foreign_key: true

Association

  • belongs_to :group
  • belongs_to :user

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published