increments('id'); $table->integer('user_id')->nullable(); $table->date('start_date')->nullable(); $table->date('end_date')->nullable(); $table->integer('work_area')->nullable(); $table->integer('programme')->nullable(); $table->integer('activity_area')->nullable(); $table->integer('is_featured')->nullable(); $table->text('title')->nullable(); $table->text('description')->nullable(); $table->text('images')->nullable(); $table->text('videos')->nullable(); $table->double('fund_raised', 19,2)->nullable(); $table->tinyInteger('is_special')->nullable(); $table->integer('category_id')->nullable(); $table->integer('sub_category_id')->nullable(); $table->double('donation_amount', 19,2)->nullable(); $table->text('keyword')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('campaigns'); } }