mirror of https://github.com/MarceauKa/shaark.git
🔧 Update migration UpdateLoginsAndDevicesTable for compatibility with SQLite #68
This commit is contained in:
parent
26164dc73c
commit
866f315c82
|
@ -1,3 +1,9 @@
|
|||
# Unreleased
|
||||
|
||||
## Fixed
|
||||
|
||||
- Update migration `UpdateLoginsAndDevicesTable` for compatibility with SQLite ([#68](https://github.com/MarceauKa/shaark/issues/68))
|
||||
|
||||
# 1.2.39
|
||||
|
||||
## Added
|
||||
|
|
|
@ -9,11 +9,11 @@ class UpdateLoginsAndDevicesTableUserRelation extends Migration
|
|||
public function up()
|
||||
{
|
||||
Schema::table('logins', function (Blueprint $table) {
|
||||
$table->string('user_type')->after('user_id');
|
||||
$table->string('user_type')->after('user_id')->nullable();
|
||||
});
|
||||
|
||||
Schema::table('devices', function (Blueprint $table) {
|
||||
$table->string('user_type')->after('user_id');
|
||||
$table->string('user_type')->after('user_id')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue