mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Remove first migration for licenses
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
6f96b25440
commit
4c3f59c5fd
|
@ -1,41 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
use Illuminate\Database\Migrations\Migration;
|
|
||||||
|
|
||||||
class CreateLicensesTable extends Migration
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Run the migrations.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function up()
|
|
||||||
{
|
|
||||||
Schema::create('licenses', function ($table) {
|
|
||||||
$table->increments('id');
|
|
||||||
$table->string('name');
|
|
||||||
$table->integer('model_id');
|
|
||||||
$table->text('serial');
|
|
||||||
$table->string('license_email');
|
|
||||||
$table->string('license_name');
|
|
||||||
$table->date('purchase_date')->nullable();
|
|
||||||
$table->decimal('purchase_cost', 8, 2)->nullable();
|
|
||||||
$table->string('order_number');
|
|
||||||
$table->integer('assigned_to');
|
|
||||||
$table->text('notes');
|
|
||||||
$table->integer('user_id')->nullable();
|
|
||||||
$table->timestamps();
|
|
||||||
$table->engine = 'InnoDB';
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Reverse the migrations.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function down()
|
|
||||||
{
|
|
||||||
Schema::dropIfExists('licenses');
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue