|
@@ -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_08_03_145424) do
|
|
13
|
+ActiveRecord::Schema.define(version: 2021_08_03_152520) do
|
14
|
14
|
|
15
|
15
|
# These are extensions that must be enabled in order to support this database
|
16
|
16
|
enable_extension "plpgsql"
|
|
@@ -26,6 +26,15 @@ ActiveRecord::Schema.define(version: 2021_08_03_145424) do
|
26
|
26
|
t.index ["name"], name: "index_activities_on_name"
|
27
|
27
|
end
|
28
|
28
|
|
|
29
|
+ create_table "joined_team_users", force: :cascade do |t|
|
|
30
|
+ t.bigint "user_id"
|
|
31
|
+ t.bigint "team_id"
|
|
32
|
+ t.datetime "created_at", precision: 6, null: false
|
|
33
|
+ t.datetime "updated_at", precision: 6, null: false
|
|
34
|
+ t.index ["team_id"], name: "index_joined_team_users_on_team_id"
|
|
35
|
+ t.index ["user_id"], name: "index_joined_team_users_on_user_id"
|
|
36
|
+ end
|
|
37
|
+
|
29
|
38
|
create_table "joined_user_activities", force: :cascade do |t|
|
30
|
39
|
t.bigint "user_id"
|
31
|
40
|
t.bigint "activity_id"
|
|
@@ -56,13 +65,6 @@ ActiveRecord::Schema.define(version: 2021_08_03_145424) do
|
56
|
65
|
t.index ["name"], name: "index_teams_on_name", unique: true
|
57
|
66
|
end
|
58
|
67
|
|
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
|
|
-
|
66
|
68
|
create_table "users", force: :cascade do |t|
|
67
|
69
|
t.string "email", null: false
|
68
|
70
|
t.string "username", null: false
|