yuuuuuuuka / my_training

0 stars 0 forks source link

アプリケーション名

my training

URL

User名

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

has many :records has_one :profile,dependent: :destroy

profileテーブル

Column Type Options
user references null: false, foreign_key: true
height int null: false
weight int null: false
goal_weight int null: false

belongs_to :user

 Recordテーブル

Column Type Options
user references null: false, foreign_key: true
type string null: false
date date null: false
duration int null: false, greater_than_or_equal_to: 0
reps int null: false, greater_than:0
memo text

belongs_to:user belongs_to: exercise

Exerciseテーブル

Column Type Options

| description | text | null: false | has_many :record

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

Things you may want to cover: