Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

38 Commits

Folders and files

Repository files navigation

README

messages

Column Type Options
body text
image string
group_id integer null:false,foreign_key:true
user_id integer null:false,foreign_key:true

Association

  • belongs_to :user
  • belongs_to :group

user

Column Type Options
name string null:false,add_index:true
email string null:false,unique:true

Association

  • has_many :messages
  • has_many :groups_users
  • has_many :groups, through: groups_users

groups

Column Type Options
name string null:false,unique:true

Association

  • has_many :messages
  • has_many :groups_users
  • has_many :users, through :groups_users

groups_usersテーブル

Column Type Options
user_id integer null: false, foreign_key: true
group_id integer null: false, foreign_key: true

Association

  • belongs_to :group
  • belongs_to :user

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages