mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-29 08:07:59 +01:00
Merged development into master
This commit is contained in:
commit
bda0299e89
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class CreateUserTables extends Migration {
|
||||||
$table->foreign('album_id')->references('id')->on('albums')->on_delete('cascade');;
|
$table->foreign('album_id')->references('id')->on('albums')->on_delete('cascade');;
|
||||||
$table->foreign('playlist_id')->references('id')->on('playlists')->on_delete('cascade');;
|
$table->foreign('playlist_id')->references('id')->on('playlists')->on_delete('cascade');;
|
||||||
|
|
||||||
$table->unique(['user_id', 'track_id', 'album_id', 'playlist_id', 'artist_id']);
|
$table->unique(['user_id', 'track_id', 'album_id', 'playlist_id', 'artist_id'], 'resource_unique');
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::create('resource_log_items', function($table){
|
Schema::create('resource_log_items', function($table){
|
||||||
|
|
Loading…
Reference in a new issue