mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-07-29 15:53:28 -05:00
Various PSR12 code cleanup
This commit is contained in:
@@ -51,18 +51,19 @@ class MakeLocationsTable extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::create(
|
||||
'locations', static function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
'locations',
|
||||
static function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
|
||||
$table->integer('locatable_id', false, true);
|
||||
$table->string('locatable_type', 255);
|
||||
$table->integer('locatable_id', false, true);
|
||||
$table->string('locatable_type', 255);
|
||||
|
||||
$table->decimal('latitude', 36, 24)->nullable();
|
||||
$table->decimal('longitude', 36, 24)->nullable();
|
||||
$table->smallInteger('zoom_level', false, true)->nullable();
|
||||
}
|
||||
$table->decimal('latitude', 36, 24)->nullable();
|
||||
$table->decimal('longitude', 36, 24)->nullable();
|
||||
$table->smallInteger('zoom_level', false, true)->nullable();
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user