| Conditions | 2 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | public function up(): void |
||
| 13 | { |
||
| 14 | try { |
||
| 15 | Schema::dropIfExists($this->prefix . 'botan_shortener'); |
||
| 16 | Schema::table($this->prefix . 'message', static function (Blueprint $table) { |
||
| 17 | $table->text('reply_markup')->nullable()->comment('Inline keyboard attached to the message')->after('passport_data'); |
||
| 18 | }); |
||
| 19 | } catch (Throwable $e) { |
||
| 20 | Log::error($e->getMessage()); |
||
| 21 | return; // Migration may be partly done already... |
||
| 22 | } |
||
| 46 |