Fix #199 - migrations problem for sqlite
This commit is contained in:
parent
7ebd690852
commit
891b6c42e2
2 changed files with 2 additions and 2 deletions
|
|
@ -231,7 +231,7 @@ class ConfideSetupUsersTable extends Migration {
|
|||
$t->increments('id');
|
||||
$t->unsignedInteger('user_id');
|
||||
$t->unsignedInteger('account_id')->index();
|
||||
$t->unsignedInteger('currency_id')->default(1);
|
||||
$t->unsignedInteger('currency_id')->nullable();
|
||||
$t->timestamps();
|
||||
$t->softDeletes();
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ class AllowNullClientCurrency extends Migration {
|
|||
{
|
||||
Schema::table('clients', function($table)
|
||||
{
|
||||
DB::statement('ALTER TABLE `clients` MODIFY `currency_id` INTEGER UNSIGNED NULL;');
|
||||
//DB::statement('ALTER TABLE `clients` MODIFY `currency_id` INTEGER UNSIGNED NULL;');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue