Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
development:php:laravel [2020/02/27 14:50] kalenpw |
development:php:laravel [2021/06/29 15:15] (current) kalenpw [Add column to existing table] |
||
---|---|---|---|
Line 18: | Line 18: | ||
</ | </ | ||
- | To allow CORS for all routes, add the HandleCors middleware in the $middleware property of app/ | + | To allow CORS for all routes, add the HandleCors middleware in the '' |
<code php> | <code php> | ||
protected $middleware = [ | protected $middleware = [ | ||
Line 47: | Line 47: | ||
---- | ---- | ||
===== Database ===== | ===== Database ===== | ||
- | ==== Add column to existing table ==== | + | ** Add column to existing table ** \\ |
<code bash> | <code bash> | ||
php artisan make: | php artisan make: | ||
Line 85: | Line 85: | ||
$projects = \App\Project:: | $projects = \App\Project:: | ||
</ | </ | ||
+ | |||
+ | ---- |