diff --git a/app/Activity.php b/app/Activity.php new file mode 100644 index 000000000..e4b8b9f97 --- /dev/null +++ b/app/Activity.php @@ -0,0 +1,10 @@ +bigIncrements('id'); + $table->bigInteger('to_id')->unsigned()->nullable(); + $table->bigInteger('from_id')->unsigned()->nullable(); + $table->string('object_type')->nullable(); + $table->json('data')->nullable(); + $table->timestamp('processed_at')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('activities'); + } +}