@earbug/db-models 0.0.19 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish.yaml +2 -0
- package/dist/AppUserDevice.js +6 -0
- package/dist/AppUserFollowRelation.js +6 -0
- package/dist/CanonAlbumTrackRelation.js +6 -0
- package/dist/CanonArtist.js +12 -0
- package/dist/CanonArtistAlbumRelation.js +6 -0
- package/dist/CanonArtistTrackRelation.js +6 -0
- package/dist/CanonToPlatformAlbumRelation.js +6 -0
- package/dist/CanonToPlatformArtistRelation.js +6 -0
- package/dist/CanonToPlatformTrackRelation.js +6 -0
- package/dist/GuestUser.js +6 -0
- package/dist/JukeboxInvite.js +12 -0
- package/dist/JukeboxQueueEntry.js +18 -0
- package/dist/JukeboxUser.js +6 -0
- package/dist/MerchItem.js +6 -0
- package/dist/MerchOrchestration.js +8 -0
- package/dist/NewsArticle.js +6 -0
- package/dist/Notification.js +12 -0
- package/dist/PlatformAlbumTrackRelation.js +6 -0
- package/dist/PlatformArtistAlbumRelation.js +6 -0
- package/dist/PlatformArtistTrackRelation.js +6 -0
- package/dist/PlatformUserPlaylistTrack.js +6 -0
- package/dist/RadioShowMedia.js +6 -0
- package/dist/RadioShowPlacement.js +6 -0
- package/dist/RadioShowPublishRequests.js +6 -0
- package/dist/UserContacts.js +6 -0
- package/models/AppUserDevice.ts +6 -0
- package/models/AppUserFollowRelation.ts +6 -0
- package/models/CanonAlbumTrackRelation.ts +6 -0
- package/models/CanonArtist.ts +12 -0
- package/models/CanonArtistAlbumRelation.ts +6 -0
- package/models/CanonArtistTrackRelation.ts +6 -0
- package/models/CanonToPlatformAlbumRelation.ts +6 -0
- package/models/CanonToPlatformArtistRelation.ts +6 -0
- package/models/CanonToPlatformTrackRelation.ts +6 -0
- package/models/GuestUser.ts +6 -0
- package/models/JukeboxInvite.ts +12 -0
- package/models/JukeboxQueueEntry.ts +18 -0
- package/models/JukeboxUser.ts +6 -0
- package/models/MerchItem.ts +6 -0
- package/models/MerchOrchestration.ts +8 -0
- package/models/NewsArticle.ts +6 -0
- package/models/Notification.ts +12 -0
- package/models/PlatformAlbumTrackRelation.ts +6 -0
- package/models/PlatformArtistAlbumRelation.ts +6 -0
- package/models/PlatformArtistTrackRelation.ts +6 -0
- package/models/PlatformUserPlaylistTrack.ts +6 -0
- package/models/RadioShowMedia.ts +6 -0
- package/models/RadioShowPlacement.ts +6 -0
- package/models/RadioShowPublishRequests.ts +6 -0
- package/models/UserContacts.ts +6 -0
- package/package.json +1 -1
package/dist/AppUserDevice.js
CHANGED
|
@@ -98,6 +98,12 @@ class AppUserFollowRelation extends sequelize_1.Model {
|
|
|
98
98
|
{ name: "app_user_id" },
|
|
99
99
|
]
|
|
100
100
|
},
|
|
101
|
+
{
|
|
102
|
+
name: "idx_follow_relation_following",
|
|
103
|
+
fields: [
|
|
104
|
+
{ name: "following_app_user_id" },
|
|
105
|
+
]
|
|
106
|
+
},
|
|
101
107
|
{
|
|
102
108
|
name: "unique_app_user_followers",
|
|
103
109
|
unique: true,
|
package/dist/CanonArtist.js
CHANGED
|
@@ -133,6 +133,18 @@ class CanonArtist extends sequelize_1.Model {
|
|
|
133
133
|
{ name: "last_image_harvest_attempt" },
|
|
134
134
|
]
|
|
135
135
|
},
|
|
136
|
+
{
|
|
137
|
+
name: "idx_canon_artist_merch_day",
|
|
138
|
+
fields: [
|
|
139
|
+
{ name: "merch_harvest_day" },
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
name: "idx_canon_artist_news_day",
|
|
144
|
+
fields: [
|
|
145
|
+
{ name: "news_harvest_day" },
|
|
146
|
+
]
|
|
147
|
+
},
|
|
136
148
|
]
|
|
137
149
|
});
|
|
138
150
|
}
|
package/dist/GuestUser.js
CHANGED
package/dist/JukeboxInvite.js
CHANGED
|
@@ -84,6 +84,18 @@ class JukeboxInvite extends sequelize_1.Model {
|
|
|
84
84
|
schema: 'eb',
|
|
85
85
|
timestamps: false,
|
|
86
86
|
indexes: [
|
|
87
|
+
{
|
|
88
|
+
name: "idx_jukebox_invite_invited_user",
|
|
89
|
+
fields: [
|
|
90
|
+
{ name: "invited_user_id" },
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: "idx_jukebox_invite_session",
|
|
95
|
+
fields: [
|
|
96
|
+
{ name: "jukebox_session_id" },
|
|
97
|
+
]
|
|
98
|
+
},
|
|
87
99
|
{
|
|
88
100
|
name: "jukebox_invite_pkey",
|
|
89
101
|
unique: true,
|
|
@@ -146,6 +146,24 @@ class JukeboxQueueEntry extends sequelize_1.Model {
|
|
|
146
146
|
schema: 'eb',
|
|
147
147
|
timestamps: false,
|
|
148
148
|
indexes: [
|
|
149
|
+
{
|
|
150
|
+
name: "idx_jukebox_queue_entry_platform_track",
|
|
151
|
+
fields: [
|
|
152
|
+
{ name: "platform_track_id" },
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: "idx_jukebox_queue_entry_session",
|
|
157
|
+
fields: [
|
|
158
|
+
{ name: "jukebox_session_id" },
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: "idx_jukebox_queue_entry_track",
|
|
163
|
+
fields: [
|
|
164
|
+
{ name: "track_id" },
|
|
165
|
+
]
|
|
166
|
+
},
|
|
149
167
|
{
|
|
150
168
|
name: "jukebox_queue_entry_pkey",
|
|
151
169
|
unique: true,
|
package/dist/JukeboxUser.js
CHANGED
|
@@ -113,6 +113,12 @@ class JukeboxUser extends sequelize_1.Model {
|
|
|
113
113
|
schema: 'eb',
|
|
114
114
|
timestamps: false,
|
|
115
115
|
indexes: [
|
|
116
|
+
{
|
|
117
|
+
name: "idx_jukebox_user_app_user",
|
|
118
|
+
fields: [
|
|
119
|
+
{ name: "app_user_id" },
|
|
120
|
+
]
|
|
121
|
+
},
|
|
116
122
|
{
|
|
117
123
|
name: "jukebox_user_pkey",
|
|
118
124
|
unique: true,
|
package/dist/MerchItem.js
CHANGED
|
@@ -106,6 +106,12 @@ class MerchItem extends sequelize_1.Model {
|
|
|
106
106
|
schema: 'eb',
|
|
107
107
|
timestamps: false,
|
|
108
108
|
indexes: [
|
|
109
|
+
{
|
|
110
|
+
name: "idx_merch_item_artist",
|
|
111
|
+
fields: [
|
|
112
|
+
{ name: "canon_artist_id" },
|
|
113
|
+
]
|
|
114
|
+
},
|
|
109
115
|
{
|
|
110
116
|
name: "merch_item_pkey",
|
|
111
117
|
unique: true,
|
|
@@ -90,6 +90,14 @@ class MerchOrchestration extends sequelize_1.Model {
|
|
|
90
90
|
schema: 'eb',
|
|
91
91
|
timestamps: false,
|
|
92
92
|
indexes: [
|
|
93
|
+
{
|
|
94
|
+
name: "idx_merch_orchestration_composite",
|
|
95
|
+
fields: [
|
|
96
|
+
{ name: "canon_artist_id" },
|
|
97
|
+
{ name: "merch_type_id" },
|
|
98
|
+
{ name: "merch_platform_id" },
|
|
99
|
+
]
|
|
100
|
+
},
|
|
93
101
|
{
|
|
94
102
|
name: "merch_orchestration_pkey",
|
|
95
103
|
unique: true,
|
package/dist/NewsArticle.js
CHANGED
|
@@ -95,6 +95,12 @@ class NewsArticle extends sequelize_1.Model {
|
|
|
95
95
|
schema: 'eb',
|
|
96
96
|
timestamps: false,
|
|
97
97
|
indexes: [
|
|
98
|
+
{
|
|
99
|
+
name: "idx_news_article_artist",
|
|
100
|
+
fields: [
|
|
101
|
+
{ name: "canon_artist_id" },
|
|
102
|
+
]
|
|
103
|
+
},
|
|
98
104
|
{
|
|
99
105
|
name: "news_article_pkey",
|
|
100
106
|
unique: true,
|
package/dist/Notification.js
CHANGED
|
@@ -142,6 +142,18 @@ class Notification extends sequelize_1.Model {
|
|
|
142
142
|
{ name: "expires_at" },
|
|
143
143
|
]
|
|
144
144
|
},
|
|
145
|
+
{
|
|
146
|
+
name: "idx_notification_session",
|
|
147
|
+
fields: [
|
|
148
|
+
{ name: "jukebox_session_id" },
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: "idx_notification_source_user",
|
|
153
|
+
fields: [
|
|
154
|
+
{ name: "source_user_id" },
|
|
155
|
+
]
|
|
156
|
+
},
|
|
145
157
|
{
|
|
146
158
|
name: "idx_notification_target_user_created_at",
|
|
147
159
|
fields: [
|
|
@@ -67,6 +67,12 @@ class PlatformAlbumTrackRelation extends sequelize_1.Model {
|
|
|
67
67
|
schema: 'eb',
|
|
68
68
|
timestamps: false,
|
|
69
69
|
indexes: [
|
|
70
|
+
{
|
|
71
|
+
name: "idx_platform_album_track_track",
|
|
72
|
+
fields: [
|
|
73
|
+
{ name: "platform_track_id" },
|
|
74
|
+
]
|
|
75
|
+
},
|
|
70
76
|
{
|
|
71
77
|
name: "platform_album_track_relation_pkey",
|
|
72
78
|
unique: true,
|
|
@@ -67,6 +67,12 @@ class PlatformArtistAlbumRelation extends sequelize_1.Model {
|
|
|
67
67
|
schema: 'eb',
|
|
68
68
|
timestamps: false,
|
|
69
69
|
indexes: [
|
|
70
|
+
{
|
|
71
|
+
name: "idx_platform_artist_album_album",
|
|
72
|
+
fields: [
|
|
73
|
+
{ name: "platform_album_id" },
|
|
74
|
+
]
|
|
75
|
+
},
|
|
70
76
|
{
|
|
71
77
|
name: "platform_artist_album_relation_pkey",
|
|
72
78
|
unique: true,
|
|
@@ -67,6 +67,12 @@ class PlatformArtistTrackRelation extends sequelize_1.Model {
|
|
|
67
67
|
schema: 'eb',
|
|
68
68
|
timestamps: false,
|
|
69
69
|
indexes: [
|
|
70
|
+
{
|
|
71
|
+
name: "idx_platform_artist_track_track",
|
|
72
|
+
fields: [
|
|
73
|
+
{ name: "platform_track_id" },
|
|
74
|
+
]
|
|
75
|
+
},
|
|
70
76
|
{
|
|
71
77
|
name: "platform_artist_track_relation_pkey",
|
|
72
78
|
unique: true,
|
|
@@ -110,6 +110,12 @@ class PlatformUserPlaylistTrack extends sequelize_1.Model {
|
|
|
110
110
|
schema: 'eb',
|
|
111
111
|
timestamps: false,
|
|
112
112
|
indexes: [
|
|
113
|
+
{
|
|
114
|
+
name: "idx_playlist_track_playlist",
|
|
115
|
+
fields: [
|
|
116
|
+
{ name: "platform_user_playlist_id" },
|
|
117
|
+
]
|
|
118
|
+
},
|
|
113
119
|
{
|
|
114
120
|
name: "playlist_track_pkey",
|
|
115
121
|
unique: true,
|
package/dist/RadioShowMedia.js
CHANGED
|
@@ -75,6 +75,12 @@ class RadioShowMedia extends sequelize_1.Model {
|
|
|
75
75
|
schema: 'eb',
|
|
76
76
|
timestamps: false,
|
|
77
77
|
indexes: [
|
|
78
|
+
{
|
|
79
|
+
name: "idx_radio_show_media_show",
|
|
80
|
+
fields: [
|
|
81
|
+
{ name: "radio_show_id" },
|
|
82
|
+
]
|
|
83
|
+
},
|
|
78
84
|
{
|
|
79
85
|
name: "radio_show_media_pkey",
|
|
80
86
|
unique: true,
|
|
@@ -55,6 +55,12 @@ class RadioShowPlacement extends sequelize_1.Model {
|
|
|
55
55
|
schema: 'eb',
|
|
56
56
|
timestamps: false,
|
|
57
57
|
indexes: [
|
|
58
|
+
{
|
|
59
|
+
name: "idx_radio_show_placement_show",
|
|
60
|
+
fields: [
|
|
61
|
+
{ name: "radio_show_id" },
|
|
62
|
+
]
|
|
63
|
+
},
|
|
58
64
|
{
|
|
59
65
|
name: "radio_show_placement_pkey",
|
|
60
66
|
unique: true,
|
|
@@ -66,6 +66,12 @@ class RadioShowPublishRequests extends sequelize_1.Model {
|
|
|
66
66
|
schema: 'eb',
|
|
67
67
|
timestamps: false,
|
|
68
68
|
indexes: [
|
|
69
|
+
{
|
|
70
|
+
name: "idx_radio_show_publish_show",
|
|
71
|
+
fields: [
|
|
72
|
+
{ name: "radio_show_id" },
|
|
73
|
+
]
|
|
74
|
+
},
|
|
69
75
|
{
|
|
70
76
|
name: "radio_show_publish_requests_pkey",
|
|
71
77
|
unique: true,
|
package/dist/UserContacts.js
CHANGED
package/models/AppUserDevice.ts
CHANGED
|
@@ -82,6 +82,12 @@ export class AppUserDevice extends Model<AppUserDeviceAttributes, AppUserDeviceC
|
|
|
82
82
|
{ name: "id" },
|
|
83
83
|
]
|
|
84
84
|
},
|
|
85
|
+
{
|
|
86
|
+
name: "idx_app_user_device_user",
|
|
87
|
+
fields: [
|
|
88
|
+
{ name: "app_user_id" },
|
|
89
|
+
]
|
|
90
|
+
},
|
|
85
91
|
{
|
|
86
92
|
name: "unique_app_user_device_endpoint_arn",
|
|
87
93
|
unique: true,
|
|
@@ -108,6 +108,12 @@ export class AppUserFollowRelation extends Model<AppUserFollowRelationAttributes
|
|
|
108
108
|
{ name: "app_user_id" },
|
|
109
109
|
]
|
|
110
110
|
},
|
|
111
|
+
{
|
|
112
|
+
name: "idx_follow_relation_following",
|
|
113
|
+
fields: [
|
|
114
|
+
{ name: "following_app_user_id" },
|
|
115
|
+
]
|
|
116
|
+
},
|
|
111
117
|
{
|
|
112
118
|
name: "unique_app_user_followers",
|
|
113
119
|
unique: true,
|
package/models/CanonArtist.ts
CHANGED
|
@@ -278,6 +278,18 @@ export class CanonArtist extends Model<CanonArtistAttributes, CanonArtistCreatio
|
|
|
278
278
|
{ name: "last_image_harvest_attempt" },
|
|
279
279
|
]
|
|
280
280
|
},
|
|
281
|
+
{
|
|
282
|
+
name: "idx_canon_artist_merch_day",
|
|
283
|
+
fields: [
|
|
284
|
+
{ name: "merch_harvest_day" },
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
name: "idx_canon_artist_news_day",
|
|
289
|
+
fields: [
|
|
290
|
+
{ name: "news_harvest_day" },
|
|
291
|
+
]
|
|
292
|
+
},
|
|
281
293
|
]
|
|
282
294
|
});
|
|
283
295
|
}
|
package/models/GuestUser.ts
CHANGED
package/models/JukeboxInvite.ts
CHANGED
|
@@ -100,6 +100,18 @@ export class JukeboxInvite extends Model<JukeboxInviteAttributes, JukeboxInviteC
|
|
|
100
100
|
schema: 'eb',
|
|
101
101
|
timestamps: false,
|
|
102
102
|
indexes: [
|
|
103
|
+
{
|
|
104
|
+
name: "idx_jukebox_invite_invited_user",
|
|
105
|
+
fields: [
|
|
106
|
+
{ name: "invited_user_id" },
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: "idx_jukebox_invite_session",
|
|
111
|
+
fields: [
|
|
112
|
+
{ name: "jukebox_session_id" },
|
|
113
|
+
]
|
|
114
|
+
},
|
|
103
115
|
{
|
|
104
116
|
name: "jukebox_invite_pkey",
|
|
105
117
|
unique: true,
|
|
@@ -216,6 +216,24 @@ export class JukeboxQueueEntry extends Model<JukeboxQueueEntryAttributes, Jukebo
|
|
|
216
216
|
schema: 'eb',
|
|
217
217
|
timestamps: false,
|
|
218
218
|
indexes: [
|
|
219
|
+
{
|
|
220
|
+
name: "idx_jukebox_queue_entry_platform_track",
|
|
221
|
+
fields: [
|
|
222
|
+
{ name: "platform_track_id" },
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: "idx_jukebox_queue_entry_session",
|
|
227
|
+
fields: [
|
|
228
|
+
{ name: "jukebox_session_id" },
|
|
229
|
+
]
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
name: "idx_jukebox_queue_entry_track",
|
|
233
|
+
fields: [
|
|
234
|
+
{ name: "track_id" },
|
|
235
|
+
]
|
|
236
|
+
},
|
|
219
237
|
{
|
|
220
238
|
name: "jukebox_queue_entry_pkey",
|
|
221
239
|
unique: true,
|
package/models/JukeboxUser.ts
CHANGED
|
@@ -148,6 +148,12 @@ export class JukeboxUser extends Model<JukeboxUserAttributes, JukeboxUserCreatio
|
|
|
148
148
|
schema: 'eb',
|
|
149
149
|
timestamps: false,
|
|
150
150
|
indexes: [
|
|
151
|
+
{
|
|
152
|
+
name: "idx_jukebox_user_app_user",
|
|
153
|
+
fields: [
|
|
154
|
+
{ name: "app_user_id" },
|
|
155
|
+
]
|
|
156
|
+
},
|
|
151
157
|
{
|
|
152
158
|
name: "jukebox_user_pkey",
|
|
153
159
|
unique: true,
|
package/models/MerchItem.ts
CHANGED
|
@@ -133,6 +133,12 @@ export class MerchItem extends Model<MerchItemAttributes, MerchItemCreationAttri
|
|
|
133
133
|
schema: 'eb',
|
|
134
134
|
timestamps: false,
|
|
135
135
|
indexes: [
|
|
136
|
+
{
|
|
137
|
+
name: "idx_merch_item_artist",
|
|
138
|
+
fields: [
|
|
139
|
+
{ name: "canon_artist_id" },
|
|
140
|
+
]
|
|
141
|
+
},
|
|
136
142
|
{
|
|
137
143
|
name: "merch_item_pkey",
|
|
138
144
|
unique: true,
|
|
@@ -109,6 +109,14 @@ export class MerchOrchestration extends Model<MerchOrchestrationAttributes, Merc
|
|
|
109
109
|
schema: 'eb',
|
|
110
110
|
timestamps: false,
|
|
111
111
|
indexes: [
|
|
112
|
+
{
|
|
113
|
+
name: "idx_merch_orchestration_composite",
|
|
114
|
+
fields: [
|
|
115
|
+
{ name: "canon_artist_id" },
|
|
116
|
+
{ name: "merch_type_id" },
|
|
117
|
+
{ name: "merch_platform_id" },
|
|
118
|
+
]
|
|
119
|
+
},
|
|
112
120
|
{
|
|
113
121
|
name: "merch_orchestration_pkey",
|
|
114
122
|
unique: true,
|
package/models/NewsArticle.ts
CHANGED
|
@@ -112,6 +112,12 @@ export class NewsArticle extends Model<NewsArticleAttributes, NewsArticleCreatio
|
|
|
112
112
|
schema: 'eb',
|
|
113
113
|
timestamps: false,
|
|
114
114
|
indexes: [
|
|
115
|
+
{
|
|
116
|
+
name: "idx_news_article_artist",
|
|
117
|
+
fields: [
|
|
118
|
+
{ name: "canon_artist_id" },
|
|
119
|
+
]
|
|
120
|
+
},
|
|
115
121
|
{
|
|
116
122
|
name: "news_article_pkey",
|
|
117
123
|
unique: true,
|
package/models/Notification.ts
CHANGED
|
@@ -182,6 +182,18 @@ export class Notification extends Model<NotificationAttributes, NotificationCrea
|
|
|
182
182
|
{ name: "expires_at" },
|
|
183
183
|
]
|
|
184
184
|
},
|
|
185
|
+
{
|
|
186
|
+
name: "idx_notification_session",
|
|
187
|
+
fields: [
|
|
188
|
+
{ name: "jukebox_session_id" },
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
name: "idx_notification_source_user",
|
|
193
|
+
fields: [
|
|
194
|
+
{ name: "source_user_id" },
|
|
195
|
+
]
|
|
196
|
+
},
|
|
185
197
|
{
|
|
186
198
|
name: "idx_notification_target_user_created_at",
|
|
187
199
|
fields: [
|
|
@@ -72,6 +72,12 @@ export class PlatformAlbumTrackRelation extends Model<PlatformAlbumTrackRelation
|
|
|
72
72
|
schema: 'eb',
|
|
73
73
|
timestamps: false,
|
|
74
74
|
indexes: [
|
|
75
|
+
{
|
|
76
|
+
name: "idx_platform_album_track_track",
|
|
77
|
+
fields: [
|
|
78
|
+
{ name: "platform_track_id" },
|
|
79
|
+
]
|
|
80
|
+
},
|
|
75
81
|
{
|
|
76
82
|
name: "platform_album_track_relation_pkey",
|
|
77
83
|
unique: true,
|
|
@@ -72,6 +72,12 @@ export class PlatformArtistAlbumRelation extends Model<PlatformArtistAlbumRelati
|
|
|
72
72
|
schema: 'eb',
|
|
73
73
|
timestamps: false,
|
|
74
74
|
indexes: [
|
|
75
|
+
{
|
|
76
|
+
name: "idx_platform_artist_album_album",
|
|
77
|
+
fields: [
|
|
78
|
+
{ name: "platform_album_id" },
|
|
79
|
+
]
|
|
80
|
+
},
|
|
75
81
|
{
|
|
76
82
|
name: "platform_artist_album_relation_pkey",
|
|
77
83
|
unique: true,
|
|
@@ -72,6 +72,12 @@ export class PlatformArtistTrackRelation extends Model<PlatformArtistTrackRelati
|
|
|
72
72
|
schema: 'eb',
|
|
73
73
|
timestamps: false,
|
|
74
74
|
indexes: [
|
|
75
|
+
{
|
|
76
|
+
name: "idx_platform_artist_track_track",
|
|
77
|
+
fields: [
|
|
78
|
+
{ name: "platform_track_id" },
|
|
79
|
+
]
|
|
80
|
+
},
|
|
75
81
|
{
|
|
76
82
|
name: "platform_artist_track_relation_pkey",
|
|
77
83
|
unique: true,
|
|
@@ -135,6 +135,12 @@ export class PlatformUserPlaylistTrack extends Model<PlatformUserPlaylistTrackAt
|
|
|
135
135
|
schema: 'eb',
|
|
136
136
|
timestamps: false,
|
|
137
137
|
indexes: [
|
|
138
|
+
{
|
|
139
|
+
name: "idx_playlist_track_playlist",
|
|
140
|
+
fields: [
|
|
141
|
+
{ name: "platform_user_playlist_id" },
|
|
142
|
+
]
|
|
143
|
+
},
|
|
138
144
|
{
|
|
139
145
|
name: "playlist_track_pkey",
|
|
140
146
|
unique: true,
|
package/models/RadioShowMedia.ts
CHANGED
|
@@ -80,6 +80,12 @@ export class RadioShowMedia extends Model<RadioShowMediaAttributes, RadioShowMed
|
|
|
80
80
|
schema: 'eb',
|
|
81
81
|
timestamps: false,
|
|
82
82
|
indexes: [
|
|
83
|
+
{
|
|
84
|
+
name: "idx_radio_show_media_show",
|
|
85
|
+
fields: [
|
|
86
|
+
{ name: "radio_show_id" },
|
|
87
|
+
]
|
|
88
|
+
},
|
|
83
89
|
{
|
|
84
90
|
name: "radio_show_media_pkey",
|
|
85
91
|
unique: true,
|
|
@@ -90,6 +90,12 @@ export class RadioShowPlacement extends Model<RadioShowPlacementAttributes, Radi
|
|
|
90
90
|
schema: 'eb',
|
|
91
91
|
timestamps: false,
|
|
92
92
|
indexes: [
|
|
93
|
+
{
|
|
94
|
+
name: "idx_radio_show_placement_show",
|
|
95
|
+
fields: [
|
|
96
|
+
{ name: "radio_show_id" },
|
|
97
|
+
]
|
|
98
|
+
},
|
|
93
99
|
{
|
|
94
100
|
name: "radio_show_placement_pkey",
|
|
95
101
|
unique: true,
|
|
@@ -67,6 +67,12 @@ export class RadioShowPublishRequests extends Model<RadioShowPublishRequestsAttr
|
|
|
67
67
|
schema: 'eb',
|
|
68
68
|
timestamps: false,
|
|
69
69
|
indexes: [
|
|
70
|
+
{
|
|
71
|
+
name: "idx_radio_show_publish_show",
|
|
72
|
+
fields: [
|
|
73
|
+
{ name: "radio_show_id" },
|
|
74
|
+
]
|
|
75
|
+
},
|
|
70
76
|
{
|
|
71
77
|
name: "radio_show_publish_requests_pkey",
|
|
72
78
|
unique: true,
|
package/models/UserContacts.ts
CHANGED
|
@@ -136,6 +136,12 @@ export class UserContacts extends Model<UserContactsAttributes, UserContactsCrea
|
|
|
136
136
|
schema: 'eb',
|
|
137
137
|
timestamps: false,
|
|
138
138
|
indexes: [
|
|
139
|
+
{
|
|
140
|
+
name: "idx_user_contacts_user",
|
|
141
|
+
fields: [
|
|
142
|
+
{ name: "app_user_id" },
|
|
143
|
+
]
|
|
144
|
+
},
|
|
139
145
|
{
|
|
140
146
|
name: "user_contacts_pkey",
|
|
141
147
|
unique: true,
|