diff --git a/app/Avatar.php b/app/Avatar.php new file mode 100644 index 000000000..a7f8e4e67 --- /dev/null +++ b/app/Avatar.php @@ -0,0 +1,10 @@ +bigIncrements('id'); + $table->bigInteger('profile_id')->unsigned()->unique()->index(); + $table->string('media_path')->nullable(); + $table->string('thumb_path')->nullable(); + $table->unsignedInteger('change_count')->default(0); + $table->timestamp('last_processed_at')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('avatars'); + } +}