Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- use Illuminate\Database\Migrations\Migration;
- use Illuminate\Database\Schema\Blueprint;
- class CreateFileentriesTable extends Migration {
- public function up()
- {
- Schema::create('fileentries', function(Blueprint $table) {
- $table->increments('id');
- $table->string('original_filename')->nullable();
- $table->string('filename');
- $table->string('path')->nullable();
- $table->timestamps();
- });
- }
- public function down()
- {
- Schema::drop('fileentries');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement