|
@@ -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_08_03_145424) do
|
14
|
14
|
|
15
|
15
|
# These are extensions that must be enabled in order to support this database
|
16
|
16
|
enable_extension "plpgsql"
|
|
@@ -48,6 +48,21 @@ ActiveRecord::Schema.define(version: 2021_05_10_133939) do
|
48
|
48
|
t.index ["user_id"], name: "index_tasks_on_user_id"
|
49
|
49
|
end
|
50
|
50
|
|
|
51
|
+ create_table "teams", force: :cascade do |t|
|
|
52
|
+ t.string "name", null: false
|
|
53
|
+ t.text "description"
|
|
54
|
+ t.datetime "created_at", precision: 6, null: false
|
|
55
|
+ t.datetime "updated_at", precision: 6, null: false
|
|
56
|
+ t.index ["name"], name: "index_teams_on_name", unique: true
|
|
57
|
+ end
|
|
58
|
+
|
|
59
|
+ create_table "teams_users", id: false, force: :cascade do |t|
|
|
60
|
+ t.bigint "team_id", null: false
|
|
61
|
+ t.bigint "user_id", null: false
|
|
62
|
+ t.index ["team_id"], name: "index_teams_users_on_team_id"
|
|
63
|
+ t.index ["user_id"], name: "index_teams_users_on_user_id"
|
|
64
|
+ end
|
|
65
|
+
|
51
|
66
|
create_table "users", force: :cascade do |t|
|
52
|
67
|
t.string "email", null: false
|
53
|
68
|
t.string "username", null: false
|