* delete existing tracks on older migration that will break existing deployments
This commit is contained in:
parent
73b04ba5fc
commit
c3954d65f0
|
|
@ -24,4 +24,5 @@ ALTER TABLE recorded_tracks ADD COLUMN client_id VARCHAR(64) NOT NULL;
|
|||
ALTER TABLE recorded_tracks ADD COLUMN track_id VARCHAR(64) NOT NULL;
|
||||
|
||||
-- so that server can correlate to client track
|
||||
DELETE FROM tracks;
|
||||
ALTER TABLE tracks ADD COLUMN client_track_id VARCHAR(64) NOT NULL;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
object @claimed_recording
|
||||
|
||||
attributes :id, :name, :is_public, :is_downloadable
|
||||
attributes :id, :name, :description, :is_public, :is_downloadable
|
||||
|
||||
child(:recording => :recording) {
|
||||
attributes :id, :created_at, :duration
|
||||
|
|
@ -18,7 +18,7 @@ child(:recording => :recording) {
|
|||
}
|
||||
|
||||
child(:recorded_tracks => :recorded_tracks) {
|
||||
attributes :id, :fully_uploaded, :url
|
||||
attributes :id, :fully_uploaded, :url, :client_track_id
|
||||
child(:instrument => :instrument) {
|
||||
attributes :id, :description
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue