Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
10 | class AddAuthorAndUrlBlogEtcPostsTable extends Migration |
||
11 | { |
||
12 | /** |
||
13 | * Add author_email and author_website columns to Blog Etc comments table. |
||
14 | */ |
||
15 | public function up(): void |
||
16 | { |
||
17 | Schema::table('blog_etc_comments', static function (Blueprint $table) { |
||
18 | $table->string('author_email')->nullable(); |
||
19 | $table->string('author_website')->nullable(); |
||
20 | }); |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Reverse the migrations. |
||
25 | */ |
||
26 | public function down(): void |
||
31 | }); |
||
32 | } |
||
34 |