Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- use Illuminate\Support\Facades\Schema;
- use Illuminate\Database\Schema\Blueprint;
- use Illuminate\Database\Migrations\Migration;
- class CreateTableHrs extends Migration
- {
- /**
- * Run the migrations.
- *
- * @return void
- */
- public function up()
- {
- Schema::create('hot_runner', function (Blueprint $table) {
- $table->increments('id');
- $table->integer('machine_id');
- $table->string('rev')->nullable();
- $table->string('date')->nullable();
- $table->string('reason')->nullable();
- $table->string('checked')->nullable();
- $table->string('change')->nullable();
- $table->string('pict1')->nullable();
- $table->string('pict2')->nullable();
- $table->string('stock1')->nullable();
- $table->string('stock2')->nullable();
- $table->timestamps();
- });
- }
- /**
- * Reverse the migrations.
- *
- * @return void
- */
- public function down()
- {
- Schema::dropIfExists('hot_runner');
- }
- }
Add Comment
Please, Sign In to add comment