Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
✏️ User correct table name for organizer foreign key table
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasrohmer committed Jul 17, 2021
1 parent 7efb5d6 commit a243964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/migrations/1626261219590_offers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class Offers extends BaseSchema {
.defaultTo(OfferStatus.DRAFT);
table.string('recurrence_rule');

table.integer('organizer_id').unsigned().references('organizer.id');
table.integer('organizer_id').unsigned().references('organizers.id');
table.integer('location_id').unsigned().references('locations.id');

table.timestamps(true);
Expand Down

0 comments on commit a243964

Please sign in to comment.