133 - Storing Messages for Attendees

This commit is contained in:
Adam Wathan
2017-08-22 14:01:16 -04:00
parent 3e448f3858
commit 189ff2750c
6 changed files with 85 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateAttendeeMessagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('attendee_messages', function (Blueprint $table) {
$table->increments('id');
$table->unsignedInteger('concert_id');
$table->string('subject');
$table->text('message');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('attendee_messages');
}
}