Skip to content

Commit

Permalink
Add timezone relationship to location #40 #42
Browse files Browse the repository at this point in the history
  • Loading branch information
drewroberts authored Mar 2, 2021
1 parent 14d315c commit 34063bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function up()
$table->string('name')->unique(); // Internal reference name
$table->string('abbreviation', 4)->unique(); // 3 digit abbreviation (all caps) for location. Option to add 4th digit character if necessary.
$table->string('title_part')->nullable(); // For when have more than one location in a market, this is used to generate formal title.
$table->string('timezone'); // Informal symbol such as EST or CST
$table->foreignIdFor(app('timezone'));
$table->foreignIdFor(Market::class);
$table->foreignIdFor(app('user'), 'manager_id')->nullable();
$table->string('contact_email');
Expand Down

0 comments on commit 34063bc

Please sign in to comment.