Browse Source

Fix spatie medialibrary

pull/2/head
Mohammad Akbari 4 years ago
parent
commit
4856f07126
Signed by: akbarjimi GPG Key ID: 55726AEFECE5E683
  1. 60
      composer.lock
  2. 3
      database/migrations/2021_03_03_093326_create_media_table.php

60
composer.lock

@ -119,16 +119,16 @@
}, },
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
"version": "3.173.19",
"version": "3.173.20",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aws/aws-sdk-php.git", "url": "https://github.com/aws/aws-sdk-php.git",
"reference": "63c6feca49bf4083f33bf250401c0c286759e101"
"reference": "3e6143f5c12986d727307d5d19d6aec21575d903"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/63c6feca49bf4083f33bf250401c0c286759e101",
"reference": "63c6feca49bf4083f33bf250401c0c286759e101",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/3e6143f5c12986d727307d5d19d6aec21575d903",
"reference": "3e6143f5c12986d727307d5d19d6aec21575d903",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -136,9 +136,9 @@
"ext-pcre": "*", "ext-pcre": "*",
"ext-simplexml": "*", "ext-simplexml": "*",
"guzzlehttp/guzzle": "^5.3.3|^6.2.1|^7.0", "guzzlehttp/guzzle": "^5.3.3|^6.2.1|^7.0",
"guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.4.1",
"mtdowling/jmespath.php": "^2.5",
"guzzlehttp/promises": "^1.4.0",
"guzzlehttp/psr7": "^1.7.0",
"mtdowling/jmespath.php": "^2.6",
"php": ">=5.5" "php": ">=5.5"
}, },
"require-dev": { "require-dev": {
@ -203,9 +203,9 @@
"support": { "support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues", "issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.173.19"
"source": "https://github.com/aws/aws-sdk-php/tree/3.173.20"
}, },
"time": "2021-03-01T19:15:59+00:00"
"time": "2021-03-02T19:13:50+00:00"
}, },
{ {
"name": "beberlei/assert", "name": "beberlei/assert",
@ -1313,16 +1313,16 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v8.29.0",
"version": "v8.30.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "d2eba352b3b3a3c515b18c5726b373fe5026733e"
"reference": "81ef9850cc388f2f92b868fb35ffb76f0c9a0f46"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/d2eba352b3b3a3c515b18c5726b373fe5026733e",
"reference": "d2eba352b3b3a3c515b18c5726b373fe5026733e",
"url": "https://api.github.com/repos/laravel/framework/zipball/81ef9850cc388f2f92b868fb35ffb76f0c9a0f46",
"reference": "81ef9850cc388f2f92b868fb35ffb76f0c9a0f46",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1477,7 +1477,7 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2021-02-23T14:27:41+00:00"
"time": "2021-03-02T14:28:44+00:00"
}, },
{ {
"name": "laravel/helpers", "name": "laravel/helpers",
@ -1690,16 +1690,16 @@
}, },
{ {
"name": "laravel/socialite", "name": "laravel/socialite",
"version": "v5.2.1",
"version": "v5.2.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/socialite.git", "url": "https://github.com/laravel/socialite.git",
"reference": "8aa705d771f127317f60887515cfb2f777653ce5"
"reference": "8d25d574b4f2005411c0b9cb527ef5e745c1b07d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/socialite/zipball/8aa705d771f127317f60887515cfb2f777653ce5",
"reference": "8aa705d771f127317f60887515cfb2f777653ce5",
"url": "https://api.github.com/repos/laravel/socialite/zipball/8d25d574b4f2005411c0b9cb527ef5e745c1b07d",
"reference": "8d25d574b4f2005411c0b9cb527ef5e745c1b07d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1755,20 +1755,20 @@
"issues": "https://github.com/laravel/socialite/issues", "issues": "https://github.com/laravel/socialite/issues",
"source": "https://github.com/laravel/socialite" "source": "https://github.com/laravel/socialite"
}, },
"time": "2021-02-22T14:22:51+00:00"
"time": "2021-03-02T16:50:47+00:00"
}, },
{ {
"name": "laravel/tinker", "name": "laravel/tinker",
"version": "v2.6.0",
"version": "v2.6.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/tinker.git", "url": "https://github.com/laravel/tinker.git",
"reference": "daae1c43f1300fe88c05d83db6f3d8f76677ad88"
"reference": "04ad32c1a3328081097a181875733fa51f402083"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/tinker/zipball/daae1c43f1300fe88c05d83db6f3d8f76677ad88",
"reference": "daae1c43f1300fe88c05d83db6f3d8f76677ad88",
"url": "https://api.github.com/repos/laravel/tinker/zipball/04ad32c1a3328081097a181875733fa51f402083",
"reference": "04ad32c1a3328081097a181875733fa51f402083",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1821,9 +1821,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/laravel/tinker/issues", "issues": "https://github.com/laravel/tinker/issues",
"source": "https://github.com/laravel/tinker/tree/v2.6.0"
"source": "https://github.com/laravel/tinker/tree/v2.6.1"
}, },
"time": "2021-01-26T20:35:18+00:00"
"time": "2021-03-02T16:53:12+00:00"
}, },
{ {
"name": "league/commonmark", "name": "league/commonmark",
@ -7335,16 +7335,16 @@
}, },
{ {
"name": "laravel/sail", "name": "laravel/sail",
"version": "v1.4.3",
"version": "v1.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/sail.git", "url": "https://github.com/laravel/sail.git",
"reference": "0200ce6e0f697699bce036c42d91f1daab8039a8"
"reference": "67b76f430f8870f5a2384db5c87ff8321154e077"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/sail/zipball/0200ce6e0f697699bce036c42d91f1daab8039a8",
"reference": "0200ce6e0f697699bce036c42d91f1daab8039a8",
"url": "https://api.github.com/repos/laravel/sail/zipball/67b76f430f8870f5a2384db5c87ff8321154e077",
"reference": "67b76f430f8870f5a2384db5c87ff8321154e077",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -7391,7 +7391,7 @@
"issues": "https://github.com/laravel/sail/issues", "issues": "https://github.com/laravel/sail/issues",
"source": "https://github.com/laravel/sail" "source": "https://github.com/laravel/sail"
}, },
"time": "2021-02-24T21:20:16+00:00"
"time": "2021-03-02T16:47:59+00:00"
}, },
{ {
"name": "mockery/mockery", "name": "mockery/mockery",

3
database/migrations/2023_10_14_085115_create_media_table.php.php → database/migrations/2021_03_03_093326_create_media_table.php

@ -12,7 +12,7 @@ class CreateMediaTable extends Migration
$table->bigIncrements('id'); $table->bigIncrements('id');
$table->morphs('model'); $table->morphs('model');
$table->uuid('uuid')->nullable();
$table->uuid('uuid')->nullable()->unique();
$table->string('collection_name'); $table->string('collection_name');
$table->string('name'); $table->string('name');
$table->string('file_name'); $table->string('file_name');
@ -22,6 +22,7 @@ class CreateMediaTable extends Migration
$table->unsignedBigInteger('size'); $table->unsignedBigInteger('size');
$table->json('manipulations'); $table->json('manipulations');
$table->json('custom_properties'); $table->json('custom_properties');
$table->json('generated_conversions');
$table->json('responsive_images'); $table->json('responsive_images');
$table->unsignedInteger('order_column')->nullable(); $table->unsignedInteger('order_column')->nullable();
Loading…
Cancel
Save