123456789101112131415161718192021222324252627282930313233343536 |
- <?php
-
- use Illuminate\Database\Migrations\Migration;
- use Illuminate\Database\Schema\Blueprint;
-
- class CreateOutcomesTable extends Migration {
-
- /**
- * Run the migrations.
- *
- * @return void
- */
- public function up()
- {
- Schema::create('outcomes', function(Blueprint $table)
- {
- $table->increments('id');
- $table->string('name');
- $table->text('definition');
- $table->integer('expected_outcome')->default(67);
- $table->timestamps();
- });
- }
-
-
- /**
- * Reverse the migrations.
- *
- * @return void
- */
- public function down()
- {
- Schema::drop('outcomes');
- }
-
- }
|