diff --git a/database/migrations/2019_03_02_023245_add_profile_id_to_status_hashtags_table.php b/database/migrations/2019_03_02_023245_add_profile_id_to_status_hashtags_table.php new file mode 100644 index 000000000..070071f26 --- /dev/null +++ b/database/migrations/2019_03_02_023245_add_profile_id_to_status_hashtags_table.php @@ -0,0 +1,32 @@ +bigInteger('profile_id')->unsigned()->nullable()->index()->after('hashtag_id'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('status_hashtags', function (Blueprint $table) { + $table->dropColumn('profile_id'); + }); + } +}