| Field | Type | Description |
|---|---|---|
| title | string | 標題 |
| content | text | 內容 |
| deadline | datetime | 結束時間 |
| status | integer | 狀態 |
| priority | integer | 優先順序 |
| user_id | bigint | 使用者 |
| Field | Type | Description |
|---|---|---|
| name | string | 標籤 |
| Field | Type | Description |
|---|---|---|
| tag_id | bigint | 標籤 |
| task_id | bigint | 任務 |
| Field | Type | Description |
|---|---|---|
| name | string | 姓名 |
| string | 電子信箱 | |
| password_digest | string | 密碼 |
| tasks_count | integer | 任務數量 |
| role | string | 角色 |
- 登入 Heroku 並建立 app
- heroku git:remote -a app_name
- Gemfile 刪除 rails 預設的 gem 'sqlite3'
- hide production.rb 的 config.active_storage.service = :local (此 app 暫時用不到)
- git push heroku master
- heroku run rake db:migrate