Fix db:seed config, add quickbooks sdk

This commit is contained in:
Deon George
2018-06-18 21:51:20 +10:00
parent 047693f6cd
commit 7e503eb1bc
5 changed files with 420 additions and 315 deletions

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CurrencyChangeThreecode extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('ab_currency', function (Blueprint $table) {
$table->renameColumn('three_digit','iso_code');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('ab_currency', function (Blueprint $table) {
$table->renameColumn('iso_code','three_digit');
});
}
}