Skip to content

Commit

Permalink
changed guests
Browse files Browse the repository at this point in the history
  • Loading branch information
innoflash committed Apr 13, 2020
1 parent f894969 commit 56d0e9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/migrations/2020_02_10_133806_create_guests_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class CreateGuestsTable extends Migration
*/
public function up()
{
Schema::create('guests', function (Blueprint $table) {
Schema::create('fg_guests', function (Blueprint $table) {
$table->string('id')->index()->primary();
$table->string('event_id', 150)->index();
$table->string('title');
Expand All @@ -31,6 +31,6 @@ public function up()
*/
public function down()
{
Schema::dropIfExists('guests');
Schema::dropIfExists('fg_guests');
}
}
1 change: 1 addition & 0 deletions src/Models/Guest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class Guest extends UuidModel
{
use ImageableTrait, StorageTrait;

protected $table = 'fg_guests';
protected $guarded = ['id'];

protected $hidden = [
Expand Down

0 comments on commit 56d0e9e

Please sign in to comment.