diff --git a/database/migrations/2019_02_01_023357_add_remote_to_avatars_table.php b/database/migrations/2019_02_01_023357_add_remote_to_avatars_table.php new file mode 100644 index 000000000..e4b064f14 --- /dev/null +++ b/database/migrations/2019_02_01_023357_add_remote_to_avatars_table.php @@ -0,0 +1,34 @@ +string('remote_url')->nullable()->index()->after('thumb_path'); + $table->timestamp('last_fetched_at')->nullable()->after('change_count'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('avatars', function (Blueprint $table) { + $table->dropColumn('remote_url'); + $table->dropColumn('last_fetched_at'); + }); + } +}