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
-
...
Column | Type | Options |
---|---|---|
name | String | null: false, unique: true,index:true |
String | null: false | |
password | text | null: false |
- has_many :groups, through:members
- has_many :members
- has_many :messages
Column | Type | Options |
---|---|---|
text | text | |
image | text | |
user_id | integer | null: false, foreign_key: true |
group_id | integer | null: false, foreign_key: true |
- belongs_to :group
- belongs_to :user
Column | Type | Options |
---|---|---|
group_name | String | null: false, unique: true |
- has_many :users, through:members
- has_many :messages
- has_many :members
Column | Type | Options |
---|---|---|
user_id | integer | null: false, foreign_key: true |
group_id | integer | null: false, foreign_key: true |
- belongs_to :group
- belongs_to :user