|
@@ -10,7 +10,7 @@
|
10
|
10
|
#
|
11
|
11
|
# It's strongly recommended that you check this file into your version control system.
|
12
|
12
|
|
13
|
|
-ActiveRecord::Schema.define(version: 2021_05_10_133939) do
|
|
13
|
+ActiveRecord::Schema.define(version: 2021_05_11_212634) do
|
14
|
14
|
|
15
|
15
|
create_table "activities", force: :cascade do |t|
|
16
|
16
|
t.string "name", null: false
|
|
@@ -32,6 +32,19 @@ ActiveRecord::Schema.define(version: 2021_05_10_133939) do
|
32
|
32
|
t.index ["user_id"], name: "index_joined_user_activities_on_user_id"
|
33
|
33
|
end
|
34
|
34
|
|
|
35
|
+ create_table "records", force: :cascade do |t|
|
|
36
|
+ t.integer "duration", null: false
|
|
37
|
+ t.boolean "is_handled", default: false
|
|
38
|
+ t.integer "handled_by_id"
|
|
39
|
+ t.integer "user_id", null: false
|
|
40
|
+ t.integer "task_id", null: false
|
|
41
|
+ t.datetime "created_at", precision: 6, null: false
|
|
42
|
+ t.datetime "updated_at", precision: 6, null: false
|
|
43
|
+ t.index ["handled_by_id"], name: "index_records_on_handled_by_id"
|
|
44
|
+ t.index ["task_id"], name: "index_records_on_task_id"
|
|
45
|
+ t.index ["user_id"], name: "index_records_on_user_id"
|
|
46
|
+ end
|
|
47
|
+
|
35
|
48
|
create_table "tasks", force: :cascade do |t|
|
36
|
49
|
t.string "name", null: false
|
37
|
50
|
t.text "description"
|