Skip to content

Commit

Permalink
Merge pull request #53 from tipoff/drewroberts/feature/52-profile-links
Browse files Browse the repository at this point in the history
Profile Links #52
  • Loading branch information
drewroberts authored Feb 27, 2021
2 parents 6b17d8f + 340508d commit e4a36a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
],
"require": {
"php": "^7.4|^8.0",
"drewroberts/media": "^3.2.0",
"tipoff/authorization": "^1.0.1",
"tipoff/seo": "^1.0.1",
"tipoff/support": "^1.4.3"
"drewroberts/media": "^3.2.1",
"tipoff/authorization": "^2.0.1",
"tipoff/seo": "^1.0.4",
"tipoff/support": "^1.4.10"
},
"require-dev": {
"tipoff/test-support": "^1.0.5"
"tipoff/test-support": "^1.0.9"
},
"autoload": {
"psr-4": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ public function up()
$table->string('contact_email');
$table->date('closed_at')->nullable();

$table->string('facebook')->nullable()->unique(); // Username for location's facebook page. Prefix for link: https://www.facebook.com/ with trailing backslash. Will also use for link to facebook messenger, with prefix: https://m.me/
$table->string('tripadvisor')->nullable()->unique(); // URL for location's TripAdvisor page
$table->string('yelp')->nullable()->unique(); // URL for location's Yelp page

$table->foreignIdFor(app('image'))->nullable(); // Cover image for location
$table->foreignIdFor(app('image'), 'ogimage_id')->nullable(); // External open graph image id. Featured image for social sharing. Will default to image_id unless this is used.
$table->foreignIdFor(app('video'))->nullable(); // Featured video for the location
Expand Down

0 comments on commit e4a36a3

Please sign in to comment.