| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function up(): void |
||
| 12 | { |
||
| 13 | Schema::create('botan_shortener', static function (Blueprint $table) { |
||
| 14 | $table->bigInteger('id', true)->unsigned()->comment('Unique identifier for this entry'); |
||
| 15 | $table->bigInteger('user_id')->nullable()->index('user_id')->comment('Unique user identifier'); |
||
| 16 | $table->text('url')->comment('Original URL'); |
||
| 17 | $table->char('short_url')->default('')->comment('Shortened URL'); |
||
| 18 | $table->dateTime('created_at')->nullable()->comment('Entry date creation'); |
||
| 19 | }); |
||
| 27 |