From e8ce42b8d60b1fbcd707ca6d32db673361685d87 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Tue, 3 Jan 2017 14:39:33 +0000 Subject: [PATCH] Publish the notifications table --- ...1_03_143916_create_notifications_table.php | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 database/migrations/2017_01_03_143916_create_notifications_table.php diff --git a/database/migrations/2017_01_03_143916_create_notifications_table.php b/database/migrations/2017_01_03_143916_create_notifications_table.php new file mode 100644 index 000000000..d38e48c28 --- /dev/null +++ b/database/migrations/2017_01_03_143916_create_notifications_table.php @@ -0,0 +1,44 @@ +uuid('id')->primary(); + $table->string('type'); + $table->morphs('notifiable'); + $table->text('data'); + $table->timestamp('read_at')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('notifications'); + } +}