diff --git a/core/src/main/sql/migrations/20151209054632-initial-schema-up.sql b/core/src/main/sql/migrations/20151209054632-initial-schema-up.sql index da3390f..ce6ac57 100644 --- a/core/src/main/sql/migrations/20151209054632-initial-schema-up.sql +++ b/core/src/main/sql/migrations/20151209054632-initial-schema-up.sql @@ -53,7 +53,7 @@ CREATE TABLE playlists ( user_created BOOLEAN NOT NULL DEFAULT FALSE, name VARCHAR NOT NULL, media_file_count INTEGER NOT NULL DEFAULT 0, - copied_from_id INTEGER REFERENCES playlists(id) DEFAULT NULL, + copied_from_id INTEGER DEFAULT NULL, created_at TIMESTAMP NOT NULL DEFAULT NOW(), last_used TIMESTAMP NOT NULL DEFAULT NOW() );