updates/create_post_type_table.php 1 location
|
@@ 87-91 (lines=5) @@
|
84 |
|
}); |
85 |
|
} |
86 |
|
|
87 |
|
if (Schema::hasColumn('rainlab_blog_posts', PostType::TABLE_NAME . '_attributes')) { |
88 |
|
Schema::table('rainlab_blog_posts', static function ($table) { |
89 |
|
$table->dropColumn(PostType::TABLE_NAME . '_attributes'); |
90 |
|
}); |
91 |
|
} |
92 |
|
|
93 |
|
Schema::dropIfExists(PostType::TABLE_NAME); |
94 |
|
} |
updates/create_taxonomies_tables.php 1 location
|
@@ 60-64 (lines=5) @@
|
57 |
|
$table->dropForeign([Series::TABLE_NAME . '_id']); |
58 |
|
}); |
59 |
|
|
60 |
|
if (Schema::hasColumn('rainlab_blog_posts', Series::TABLE_NAME . '_id')) { |
61 |
|
Schema::table('rainlab_blog_posts', static function ($table) { |
62 |
|
$table->dropColumn(Series::TABLE_NAME . '_id'); |
63 |
|
}); |
64 |
|
} |
65 |
|
|
66 |
|
Schema::dropIfExists(Series::TABLE_NAME); |
67 |
|
} |