mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-04 02:14:36 -04:00
32 lines
551 B
Plaintext
32 lines
551 B
Plaintext
<?php
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
class $CLASS$ extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::dropIfExists('$TABLE$');
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::create('$TABLE$', function (Blueprint $table) {
|
|
$table->increments('id');
|
|
$FIELDS$
|
|
$table->timestamps();
|
|
});
|
|
}
|
|
}
|