|
|
- <?php
-
- use Illuminate\Support\Facades\Schema;
- use Illuminate\Database\Schema\Blueprint;
- use Illuminate\Database\Migrations\Migration;
-
- class FlexibleDocPoints extends Migration
- {
- /**
- * Run the migrations.
- *
- * @return void
- */
- public function up()
- {
- Schema::table('m7_documents', function (Blueprint $table) {
- $table->integer('points');
- });
- }
-
- /**
- * Reverse the migrations.
- *
- * @return void
- */
- public function down()
- {
- Schema::table('m7_documents', function (Blueprint $table) {
- $table->removeColumn('points');
- });
- }
- }
|