Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class CreateRequestLimiterTable extends Migration |
||
10 | { |
||
11 | public function up(): void |
||
12 | { |
||
13 | Schema::create('request_limiter', static function (Blueprint $table) { |
||
14 | $table->bigInteger('id', true)->unsigned()->comment('Unique identifier for this entry'); |
||
15 | $table->char('chat_id')->nullable()->comment('Unique chat identifier'); |
||
16 | $table->char('inline_message_id')->nullable()->comment('Identifier of the sent inline message'); |
||
17 | $table->char('method')->nullable()->comment('Request method'); |
||
18 | $table->dateTime('created_at')->nullable()->comment('Entry date creation'); |
||
19 | }); |
||
20 | } |
||
21 | |||
22 | public function down(): void |
||
25 | } |
||
26 | } |
||
27 |