Conditions | 2 |
Paths | 2 |
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::table($this->prefix . 'message', static function (Blueprint $table) { |
||
16 | $table->text('animation')->nullable()->comment('Message is an animation, information about the animation')->after('document'); |
||
17 | $table->text('passport_data')->nullable()->comment('Telegram Passport data')->after('connected_website'); |
||
18 | }); |
||
19 | } catch (Throwable $e) { |
||
20 | Log::error($e->getMessage()); |
||
21 | return; // Migration may be partly done already... |
||
22 | } |
||
38 |