| 1 | <?php |
||
| 15 | class ModelMigration extends Migration |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Run the migrations. |
||
| 19 | * |
||
| 20 | * @return void |
||
| 21 | */ |
||
| 22 | public function up() |
||
| 23 | { |
||
| 24 | Schema::create('models', function (Blueprint $table) { |
||
| 25 | $table->bigIncrements('id'); |
||
| 26 | $table->timestamps(); |
||
| 27 | }); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Reverse the migrations. |
||
| 32 | * |
||
| 33 | * @return void |
||
| 34 | */ |
||
| 35 | public function down() |
||
| 36 | { |
||
| 37 | Schema::drop('models'); |
||
| 38 | } |
||
| 39 | } |
||
| 40 |