-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
laravel 5.2 #150
Comments
@freekmurze https://github.com/spatie/laravel-medialibrary/blob/master/composer.json#L23 use
|
version 3.14
dev-master all good update your version for composer please and replace your migration <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMediaTable extends Migration
{
/**
* Run the migrations.
*/
public function up()
{
Schema::create('media', function (Blueprint $table)
{
$table->increments('id');
$table->morphs('model');
$table->string('collection_name');
$table->string('name');
$table->string('file_name');
$table->string('disk');
$table->unsignedInteger('size');
$table->text('manipulations');
$table->text('custom_properties');
$table->unsignedInteger('order_column')->nullable();
//$table->timestamps();
$table->timestamp('created_at')->default('0000-00-00 00:00');
$table->timestamp('updated_at')->default('0000-00-00 00:00');
});
}
/**
* Reverse the migrations.
*/
public function down()
{
Schema::drop('media');
}
} this is temporary fix for laravel 5.2 laravel/framework#11518
|
@i fixed this in the newly tagged version 3.14.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Will support laravel 5.2?
The text was updated successfully, but these errors were encountered: