Skip to content

Instantly share code, notes, and snippets.

@pradeeprjth
Last active January 28, 2020 12:45
Show Gist options
  • Save pradeeprjth/52256cdd922c4bac6e19b3edc6dd3a56 to your computer and use it in GitHub Desktop.
Save pradeeprjth/52256cdd922c4bac6e19b3edc6dd3a56 to your computer and use it in GitHub Desktop.
public function up()
{
Schema::create('books', function (Blueprint $table) {
...
$table->string('filename')->nullable();
$table->string('mime')->nullable();
$table->string('original_filename')->nullable();
...
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment