Skip to content

Commit

Permalink
lintfix
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 committed Dec 13, 2023
1 parent 23fd722 commit ac48fd0
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions tests/migrations/2023_12_13_190445_create_cache_table.php
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
<?php

declare(strict_types=1);

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
return new class() extends Migration {
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('cache', function (Blueprint $table) {
$table->string('key')->primary();
Schema::create('cache', static function (Blueprint $table) {
$table->string('key')
->primary();
$table->mediumText('value');
$table->integer('expiration');
});

Schema::create('cache_locks', function (Blueprint $table) {
$table->string('key')->primary();
Schema::create('cache_locks', static function (Blueprint $table) {
$table->string('key')
->primary();
$table->string('owner');
$table->integer('expiration');
});
Expand Down

0 comments on commit ac48fd0

Please sign in to comment.