repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/tests/Unit/Pipelines/Encyclopedia/GetMbidForArtistTest.php
tests/Unit/Pipelines/Encyclopedia/GetMbidForArtistTest.php
<?php namespace Tests\Unit\Pipelines\Encyclopedia; use App\Http\Integrations\MusicBrainz\MusicBrainzConnector; use App\Http\Integrations\MusicBrainz\Requests\SearchForArtistRequest; use App\Pipelines\Encyclopedia\GetMbidForArtist; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\File; use PHPUnit\...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/tests/Unit/Pipelines/Encyclopedia/GetReleaseAndReleaseGroupMbidsForAlbumTest.php
tests/Unit/Pipelines/Encyclopedia/GetReleaseAndReleaseGroupMbidsForAlbumTest.php
<?php namespace Tests\Unit\Pipelines\Encyclopedia; use App\Http\Integrations\MusicBrainz\MusicBrainzConnector; use App\Http\Integrations\MusicBrainz\Requests\SearchForReleaseRequest; use App\Pipelines\Encyclopedia\GetReleaseAndReleaseGroupMbidsForAlbum; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Fac...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/tests/Unit/Pipelines/Encyclopedia/GetAlbumTracksUsingMbidTest.php
tests/Unit/Pipelines/Encyclopedia/GetAlbumTracksUsingMbidTest.php
<?php namespace Tests\Unit\Pipelines\Encyclopedia; use App\Http\Integrations\MusicBrainz\MusicBrainzConnector; use App\Http\Integrations\MusicBrainz\Requests\GetRecordingsRequest; use App\Pipelines\Encyclopedia\GetAlbumTracksUsingMbid; use Illuminate\Support\Arr; use Illuminate\Support\Facades\Cache; use Illuminate\S...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/tests/Concerns/MakesHttpRequests.php
tests/Concerns/MakesHttpRequests.php
<?php namespace Tests\Concerns; use App\Models\User; use Illuminate\Testing\TestResponse; use function Tests\create_user; trait MakesHttpRequests { /** * @param string $method * @param string $uri * @return TestResponse */ abstract public function json($method, $uri, array $data = [], ar...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/tests/Concerns/TestsPipelines.php
tests/Concerns/TestsPipelines.php
<?php namespace Tests\Concerns; use Mockery; use Mockery\MockInterface; trait TestsPipelines { /** @return MockInterface&object { next: callable } */ private static function createNextClosureMock(...$expectedArgs): MockInterface { return tap(Mockery::mock(), static fn (MockInterface $mock) => $mo...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/tests/Concerns/CreatesApplication.php
tests/Concerns/CreatesApplication.php
<?php namespace Tests\Concerns; use Illuminate\Contracts\Console\Kernel as Artisan; use Illuminate\Foundation\Application; use function Tests\test_path; trait CreatesApplication { protected string $mediaPath; protected string $baseUrl = 'http://localhost'; public function createApplication(): Applicati...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/tests/Concerns/AssertsArraySubset.php
tests/Concerns/AssertsArraySubset.php
<?php namespace Tests\Concerns; use PHPUnit\Framework\Assert; trait AssertsArraySubset { public static function assertArraySubset(array $subset, array $set, ?string $message = null): void { if (self::isArraySubset($subset, $set)) { Assert::assertTrue(true); // @phpstan-ignore-line ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/routes/channels.php
routes/channels.php
<?php use App\Models\User; use Illuminate\Support\Facades\Broadcast; Broadcast::channel('user.{publicId}', static function (User $user, $publicId): bool { return $user->is(User::query()->where('public_id', $publicId)->firstOrFail()); });
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/routes/web.base.php
routes/web.base.php
<?php use App\Facades\ITunes; use App\Http\Controllers\AuthorizeDropboxController; use App\Http\Controllers\Demo\IndexController as DemoIndexController; use App\Http\Controllers\Demo\NewSessionController; use App\Http\Controllers\Download\DownloadAlbumController; use App\Http\Controllers\Download\DownloadArtistControl...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/routes/api.base.php
routes/api.base.php
<?php use App\Facades\YouTube; use App\Helpers\Uuid; use App\Http\Controllers\API\Acl\CheckResourcePermissionController; use App\Http\Controllers\API\Acl\FetchAssignableRolesController; use App\Http\Controllers\API\ActivateLicenseController; use App\Http\Controllers\API\AlbumController; use App\Http\Controllers\API\Al...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/routes/console.php
routes/console.php
<?php use App\Jobs\RunCommandJob; use Illuminate\Support\Facades\Schedule; Schedule::job(new RunCommandJob('koel:scan'))->daily(); Schedule::job(new RunCommandJob('koel:prune'))->daily(); Schedule::job(new RunCommandJob('koel:podcasts:sync'))->daily(); Schedule::job(new RunCommandJob('koel:clean-up-temp-files'))->dai...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/public/index.php
public/index.php
<?php /** * Laravel - A PHP Framework For Web Artisans. * * @author Taylor Otwell <taylorotwell@gmail.com> */ /* |-------------------------------------------------------------------------- | Register The Auto Loader |-------------------------------------------------------------------------- | | Composer provide...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/dotenv-editor.php
config/dotenv-editor.php
<?php return [ /* |---------------------------------------------------------------------- | Auto backup mode |---------------------------------------------------------------------- | | This value is used when you save your file content. If value is true, | the original file will be backed u...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/app.php
config/app.php
<?php use App\Facades\Download; use App\Facades\ITunes; use App\Facades\License; use App\Facades\Util; use App\Facades\YouTube; use App\Services\Dispatcher; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\App; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Auth; use Illum...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/image.php
config/image.php
<?php use Intervention\Image\Drivers\Gd\Driver as GdDriver; use Intervention\Image\Drivers\Imagick\Driver as ImagickDriver; return [ /* |-------------------------------------------------------------------------- | Image Driver |--------------------------------------------------------------------------...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/logging.php
config/logging.php
<?php use Monolog\Handler\StreamHandler; return [ /* |-------------------------------------------------------------------------- | Default Log Channel |-------------------------------------------------------------------------- | | This option defines the default log channel that gets used when...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/session.php
config/session.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Session Driver |-------------------------------------------------------------------------- | | This option controls the default session "driver" that will be used on | requests. By defaul...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/queue.php
config/queue.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Queue Connection Name |-------------------------------------------------------------------------- | | Laravel's queue supports a variety of backends via a single, unified | API, giving yo...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/saloon.php
config/saloon.php
<?php declare(strict_types=1); use Saloon\Http\Senders\GuzzleSender; return [ /* |-------------------------------------------------------------------------- | Default Saloon Sender |-------------------------------------------------------------------------- | | This value specifies the "sende...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/cache.php
config/cache.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Cache Store |-------------------------------------------------------------------------- | | This option controls the default cache connection that gets used while | using this caching lib...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/hashing.php
config/hashing.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Hash Driver |-------------------------------------------------------------------------- | | This option controls the default hash driver that will be used to hash | passwords for your app...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/view.php
config/view.php
<?php return [ /* |-------------------------------------------------------------------------- | View Storage Paths |-------------------------------------------------------------------------- | | Most templating systems load templates from disk. Here you may specify | an array of paths that ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/database.php
config/database.php
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections be...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/audit.php
config/audit.php
<?php use OwenIt\Auditing\Models\Audit; use OwenIt\Auditing\Resolvers\IpAddressResolver; use OwenIt\Auditing\Resolvers\UrlResolver; use OwenIt\Auditing\Resolvers\UserAgentResolver; use OwenIt\Auditing\Resolvers\UserResolver; return [ 'enabled' => env('AUDITING_ENABLED', true), /* |----------------------...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/services.php
config/services.php
<?php use App\Models\User; return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such |...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/permission.php
config/permission.php
<?php use Spatie\Permission\DefaultTeamResolver; use Spatie\Permission\Models\Permission; use Spatie\Permission\Models\Role; return [ 'models' => [ /* * When using the "HasPermissions" trait from this package, we need to know which * Eloquent model should be used to retrieve your permis...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/filesystems.php
config/filesystems.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. A ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/lemonsqueezy.php
config/lemonsqueezy.php
<?php return [ 'store_id' => 62685, 'product_id' => env('PLUS_PRODUCT_ID', '58e8adbc-b1aa-43f9-b768-a52d1d8e6a40'), ];
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/mail.php
config/mail.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Mailer |-------------------------------------------------------------------------- | | This option controls the default mailer that is used to send any email | messages sent by your appl...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/ignition.php
config/ignition.php
<?php use Facade\Ignition\SolutionProviders\MissingPackageSolutionProvider; return [ /* |-------------------------------------------------------------------------- | Editor |-------------------------------------------------------------------------- | | Choose your preferred editor to use when...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/ide-helper.php
config/ide-helper.php
<?php return [ /* |-------------------------------------------------------------------------- | Filename & Format |-------------------------------------------------------------------------- | | The default filename (without extension) and the format (php or json) | */ 'filename' =>...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/koel.php
config/koel.php
<?php return [ 'storage_driver' => env('STORAGE_DRIVER', 'local') ?: 'local', 'media_path' => env('MEDIA_PATH'), // The absolute path to the directory to store artifacts, such as the transcoded audio files // or downloaded podcast episodes. By default, it is set to the system's temporary directory. ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/compile.php
config/compile.php
<?php return [ /* |-------------------------------------------------------------------------- | Additional Compiled Classes |-------------------------------------------------------------------------- | | Here you may specify additional classes to include in the compiled file | generated by ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/scout.php
config/scout.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Search Engine |-------------------------------------------------------------------------- | | This option controls the default search connection that gets used while | using Laravel Scou...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/broadcasting.php
config/broadcasting.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Broadcaster |-------------------------------------------------------------------------- | | This option controls the default broadcaster that will be used by the | framework when an event...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/auth.php
config/auth.php
<?php use App\Models\User; return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/config/sanctum.php
config/sanctum.php
<?php return [ /* |-------------------------------------------------------------------------- | Stateful Domains |-------------------------------------------------------------------------- | | Requests from the following domains / hosts will receive stateful API | authentication cookies. Ty...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/SongFactory.php
database/factories/SongFactory.php
<?php namespace Database\Factories; use App\Models\Album; use App\Models\Podcast; use Illuminate\Database\Eloquent\Factories\Factory; use PhanAn\Poddle\Values\EpisodeMetadata; class SongFactory extends Factory { /** @inheritdoc */ public function definition(): array { return [ 'album_...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/PlaylistCollaborationTokenFactory.php
database/factories/PlaylistCollaborationTokenFactory.php
<?php namespace Database\Factories; use App\Models\Playlist; use Illuminate\Database\Eloquent\Factories\Factory; class PlaylistCollaborationTokenFactory extends Factory { /** @inheritdoc */ public function definition(): array { return [ 'playlist_id' => Playlist::factory(), ];...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/RadioStationFactory.php
database/factories/RadioStationFactory.php
<?php namespace Database\Factories; use App\Helpers\Ulid; use App\Models\RadioStation; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; /** * @extends Factory<RadioStation> */ class RadioStationFactory extends Factory { /** * @inheritdoc */ public function definition(): ar...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/ArtistFactory.php
database/factories/ArtistFactory.php
<?php namespace Database\Factories; use App\Helpers\Ulid; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class ArtistFactory extends Factory { /** @inheritdoc */ public function definition(): array { return [ 'user_id' => User::factory(), 'name' =...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/PlaylistFolderFactory.php
database/factories/PlaylistFolderFactory.php
<?php namespace Database\Factories; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class PlaylistFolderFactory extends Factory { /** @inheritdoc */ public function definition(): array { return [ 'user_id' => User::factory(), 'name' => $this->faker...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/PodcastFactory.php
database/factories/PodcastFactory.php
<?php namespace Database\Factories; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str; class PodcastFactory extends Factory { /** @inheritdoc */ public function definition(): array { return [ 'title' => $this->faker->sentence, ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/LicenseFactory.php
database/factories/LicenseFactory.php
<?php namespace Database\Factories; use App\Values\License\LicenseInstance; use App\Values\License\LicenseMeta; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str; class LicenseFactory extends Factory { /** @inheritdoc */ public function definition(): array { return [ ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/AlbumFactory.php
database/factories/AlbumFactory.php
<?php namespace Database\Factories; use App\Helpers\Ulid; use App\Models\Artist; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class AlbumFactory extends Factory { /** @inheritdoc */ public function definition(): array { return [ 'user_id' => User::factory()...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/PlaylistFactory.php
database/factories/PlaylistFactory.php
<?php namespace Database\Factories; use App\Helpers\Ulid; use App\Models\Playlist; use App\Models\User; use App\Values\SmartPlaylist\SmartPlaylistRule; use App\Values\SmartPlaylist\SmartPlaylistRuleGroup; use App\Values\SmartPlaylist\SmartPlaylistRuleGroupCollection; use Illuminate\Database\Eloquent\Factories\Factory...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/FavoriteFactory.php
database/factories/FavoriteFactory.php
<?php namespace Database\Factories; use App\Enums\FavoriteableType; use App\Models\Song; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class FavoriteFactory extends Factory { /** @inheritdoc */ public function definition(): array { return [ 'user_id' => User...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/EmbedFactory.php
database/factories/EmbedFactory.php
<?php namespace Database\Factories; use App\Enums\EmbeddableType; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class EmbedFactory extends Factory { /** @inheritdoc */ public function definition(): array { /** @var EmbeddableType $type */ $type = $this->faker->r...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/SettingFactory.php
database/factories/SettingFactory.php
<?php namespace Database\Factories; use Illuminate\Database\Eloquent\Factories\Factory; class SettingFactory extends Factory { /** @inheritdoc */ public function definition(): array { return [ 'key' => $this->faker->slug, 'value' => $this->faker->name, ]; } }
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/QueueStateFactory.php
database/factories/QueueStateFactory.php
<?php namespace Database\Factories; use App\Models\Song; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class QueueStateFactory extends Factory { /** @inheritdoc */ public function definition(): array { return [ 'user_id' => User::factory(), 'song...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/OrganizationFactory.php
database/factories/OrganizationFactory.php
<?php namespace Database\Factories; use App\Helpers\Ulid; use App\Models\Organization; use Illuminate\Database\Eloquent\Factories\Factory; /** * @extends Factory<Organization> */ class OrganizationFactory extends Factory { /** * @inheritdoc */ public function definition(): array { ret...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/ThemeFactory.php
database/factories/ThemeFactory.php
<?php namespace Database\Factories; use App\Models\User; use App\Values\Theme\ThemeProperties; use Illuminate\Database\Eloquent\Factories\Factory; class ThemeFactory extends Factory { /** @inheritdoc */ public function definition(): array { return [ 'name' => $this->faker->words(3, tr...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/TranscodeFactory.php
database/factories/TranscodeFactory.php
<?php namespace Database\Factories; use App\Models\Song; use Illuminate\Database\Eloquent\Factories\Factory; class TranscodeFactory extends Factory { /** @inheritdoc */ public function definition(): array { return [ 'song_id' => Song::factory(), 'bit_rate' => $this->faker...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/UserFactory.php
database/factories/UserFactory.php
<?php namespace Database\Factories; use App\Enums\Acl\Role; use App\Models\Organization; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Str; class UserFactory extends Factory { /** @inheritdoc */ public function definition(...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/InteractionFactory.php
database/factories/InteractionFactory.php
<?php namespace Database\Factories; use App\Models\Song; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class InteractionFactory extends Factory { /** @inheritdoc */ public function definition(): array { return [ 'song_id' => Song::factory(), 'use...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/FolderFactory.php
database/factories/FolderFactory.php
<?php namespace Database\Factories; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str; class FolderFactory extends Factory { private static function generateRandomPath(): string { return implode( DIRECTORY_SEPARATOR, [ bin2hex(rando...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/factories/GenreFactory.php
database/factories/GenreFactory.php
<?php namespace Database\Factories; use App\Models\Genre; use Illuminate\Database\Eloquent\Factories\Factory; class GenreFactory extends Factory { protected $model = Genre::class; /** @inheritdoc */ public function definition(): array { return [ 'name' => $this->faker->unique()->...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2022_07_05_085742_remove_default_album_covers.php
database/migrations/2022_07_05_085742_remove_default_album_covers.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Support\Facades\DB; return new class extends Migration { public function up(): void { DB::table('albums')->where('cover', 'unknown-album.png')->update(['cover' => '']); } };
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_06_16_141017_create_organizations_table.php
database/migrations/2025_06_16_141017_create_organizations_table.php
<?php use App\Models\Organization; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. */ public function up(): void { ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_07_02_092423_create_failed_jobs_table.php
database/migrations/2025_07_02_092423_create_failed_jobs_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::create('failed_jobs', static function (Blueprint $table): void { $table->id(); ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_09_23_025435_migrate_admins.php
database/migrations/2025_09_23_025435_migrate_admins.php
<?php use App\Enums\Acl\Role; use App\Models\User; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { // @phpstan-ignore-next-line User::query()->where(...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2017_04_22_161504_drop_is_complication_from_albums.php
database/migrations/2017_04_22_161504_drop_is_complication_from_albums.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class DropIsComplicationFromAlbums extends Migration { public function up(): void { Schema::table('albums', static function (Blueprint $table): void { $table...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2022_08_04_092531_drop_contributing_artist_id.php
database/migrations/2022_08_04_092531_drop_contributing_artist_id.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::table('songs', static function (Blueprint $table): void { // This migration is actu...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_10_17_125814_add_themes_table.php
database/migrations/2025_10_17_125814_add_themes_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::create('themes', static function (Blueprint $table): void { $table->string('id', 26...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2024_01_16_223123_add_playlist_collaborations_table.php
database/migrations/2024_01_16_223123_add_playlist_collaborations_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::create('playlist_collaborators', static function (Blueprint $table): void { $table-...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_06_04_180008_add_public_id_column_into_users_table.php
database/migrations/2025_06_04_180008_add_public_id_column_into_users_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; use Illuminate\Support\Str; return new class extends Migration { public function up(): void { Schema::table('users', static function (...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_06_25_103531_add_genres_table.php
database/migrations/2025_06_25_103531_add_genres_table.php
<?php use App\Helpers\Ulid; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::create('genres', static function (Blue...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2022_09_21_084050_more_tags.php
database/migrations/2022_09_21_084050_more_tags.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::table('songs', static function (Blueprint $table): void { $table->year('year')->nul...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2016_03_20_134512_add_track_into_songs.php
database/migrations/2016_03_20_134512_add_track_into_songs.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddTrackIntoSongs extends Migration { public function up(): void { Schema::table('songs', static function (Blueprint $table): void { $table->integer('t...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_09_21_062502_create_permission_tables.php
database/migrations/2025_09_21_062502_create_permission_tables.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { $teams = config('permission.teams'); $tableNames = config('permission.table_names'); $c...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_06_03_121538_modify_playlist-user_relationship.php
database/migrations/2025_06_03_121538_modify_playlist-user_relationship.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { // On GitHub Actions, MySQL sometimes falsely reports that the table...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2016_07_09_054503_fix_artist_autoindex_value.php
database/migrations/2016_07_09_054503_fix_artist_autoindex_value.php
<?php use Illuminate\Database\Migrations\Migration; class FixArtistAutoindexValue extends Migration { public function up(): void { } public function down(): void { } }
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2016_04_16_082627_create_various_artists.php
database/migrations/2016_04_16_082627_create_various_artists.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; class CreateVariousArtists extends Migration { /** * Create the "Various Artists". * */ public function up(): void { ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2023_04_17_114909_convert_playlist_rule_ids_to_uuid.php
database/migrations/2023_04_17_114909_convert_playlist_rule_ids_to_uuid.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Support\Facades\DB; use Illuminate\Support\Str; return new class extends Migration { public function up(): void { DB::table('playlists') ->whereNotNull('rules') ->where('rules', '<>', '') ->get() ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2017_04_29_025836_rename_contributing_artist_id.php
database/migrations/2017_04_29_025836_rename_contributing_artist_id.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class RenameContributingArtistId extends Migration { public function up(): void { Schema::table('songs', static function (Blueprint $table): void { $table->i...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_06_17_125054_add_mime_type_to_songs_table.php
database/migrations/2025_06_17_125054_add_mime_type_to_songs_table.php
<?php use App\Models\Song; use FileEye\MimeMap\Extension; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; use Illuminate\Support\Str; return new class extends Migration { private const DEFAULT_MIME_TY...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2022_06_11_091750_add_indexes.php
database/migrations/2022_06_11_091750_add_indexes.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::table('songs', static function (Blueprint $table): void { ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_10_06_195925_add_file_size_to_songs_and_transcodes.php
database/migrations/2025_10_06_195925_add_file_size_to_songs_and_transcodes.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::table('songs', static function (Blueprint $table): void { $table->unsignedBigIntege...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_07_20_165324_backfill_ulid_foreign_keys.php
database/migrations/2025_07_20_165324_backfill_ulid_foreign_keys.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Support\Facades\DB; return new class extends Migration { public function up(): void { // Update albums.artist_ulid from artists.public_id DB::table('albums')->update([ 'artist_ulid' => DB::raw('(SELECT public_id FRO...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2023_12_28_223335_create_queue_states_table.php
database/migrations/2023_12_28_223335_create_queue_states_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::create('queue_states', static function (Blueprint $table): void { $table->increment...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2024_01_05_102651_add_license_support.php
database/migrations/2024_01_05_102651_add_license_support.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::create('licenses', static function (Blueprint $table): void { $table->id(); ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2022_08_01_093952_use_uuids_for_song_ids.php
database/migrations/2022_08_01_093952_use_uuids_for_song_ids.php
<?php use App\Helpers\Uuid; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::disableForeignKeyConstraints(); ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2014_10_12_000000_create_users_table.php
database/migrations/2014_10_12_000000_create_users_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { public function up(): void { Schema::create('users', static function (Blueprint $table): void { $table->increments...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2024_03_31_094353_add_sso_id_into_users_table.php
database/migrations/2024_03_31_094353_add_sso_id_into_users_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::table('users', static function (Blueprint $table): void { $table->string('sso_id')-...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_08_08_085019_support_radio_stations.php
database/migrations/2025_08_08_085019_support_radio_stations.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::create('radio_stations', static function (Blueprint $table): void { $table->string(...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2015_11_23_074600_create_artists_table.php
database/migrations/2015_11_23_074600_create_artists_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateArtistsTable extends Migration { public function up(): void { Schema::create('artists', static function (Blueprint $table): void { $table->increm...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2014_10_12_100000_create_password_resets_table.php
database/migrations/2014_10_12_100000_create_password_resets_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePasswordResetsTable extends Migration { public function up(): void { Schema::create('password_resets', static function (Blueprint $table): void { ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2024_07_14_180751_convert_json_columns_to_text.php
database/migrations/2024_07_14_180751_convert_json_columns_to_text.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. */ public function up(): void { Schema::table('podcasts', static function (Blueprint $table)...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2015_11_23_074733_create_interactions_table.php
database/migrations/2015_11_23_074733_create_interactions_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateInteractionsTable extends Migration { public function up(): void { Schema::create('interactions', static function (Blueprint $table): void { $tab...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_06_12_150202_user-scope_artists_and_albums.php
database/migrations/2025_06_12_150202_user-scope_artists_and_albums.php
<?php use App\Facades\License; use App\Helpers\Ulid; use App\Models\Song; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_07_02_085134_create_jobs_table.php
database/migrations/2025_07_02_085134_create_jobs_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::create('jobs', static function (Blueprint $table): void { $table->bigIncrements('id...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_05_17_131024_add_folders_table.php
database/migrations/2025_05_17_131024_add_folders_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { if (env('GITHUB_ACTIONS')) { Schema::dropIfExists('folders'); // somehow MySQL yields an er...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2016_04_15_125237_add_contributing_artist_id_into_songs.php
database/migrations/2016_04_15_125237_add_contributing_artist_id_into_songs.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddContributingArtistIdIntoSongs extends Migration { /** * Run the migrations. * */ public function up(): void { Schema::table('songs', static f...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2022_11_08_144634_add_last_played_at_into_interactions_table.php
database/migrations/2022_11_08_144634_add_last_played_at_into_interactions_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::table('interactions', static function (Blueprint $table): vo...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_07_04_090408_denormalize_artist_albums.php
database/migrations/2025_07_04_090408_denormalize_artist_albums.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::table('songs', static function (Blueprint $table): void { ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_05_18_181238_change_auditable_id_type.php
database/migrations/2025_05_18_181238_change_auditable_id_type.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { $connection = config('audit.drivers.database.connection', config('database.default')); $table =...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2015_11_23_082854_create_playlist_song_table.php
database/migrations/2015_11_23_082854_create_playlist_song_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePlaylistSongTable extends Migration { public function up(): void { Schema::create('playlist_song', static function (Blueprint $table): void { $ta...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2024_04_18_093120_upgrade_sanctum_from2_to3.php
database/migrations/2024_04_18_093120_upgrade_sanctum_from2_to3.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::table('personal_access_tokens', static function (Blueprint $table): void { $table->...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2025_05_13_114436_add_release_year_to_albums.php
database/migrations/2025_05_13_114436_add_release_year_to_albums.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::table('albums', static function (Blueprint $table): void { ...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false
koel/koel
https://github.com/koel/koel/blob/add9401a4b9a904bb1b9f679bc674ad1570ff20e/database/migrations/2022_08_10_075423_support_playlist_folders.php
database/migrations/2022_08_10_075423_support_playlist_folders.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::create('playlist_folders', static function (Blueprint $table): void { $table->strin...
php
MIT
add9401a4b9a904bb1b9f679bc674ad1570ff20e
2026-01-04T15:02:34.446708Z
false