<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>import new databases in any Laravel project Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/import-new-databases-in-any-laravel-project/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/import-new-databases-in-any-laravel-project/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 20 Mar 2021 13:03:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>A must things to do when we import new databases in any Laravel project.</title>
		<link>https://www.scmgalaxy.com/tutorials/a-must-things-to-do-when-we-import-new-databases-in-any-laravel-project/</link>
					<comments>https://www.scmgalaxy.com/tutorials/a-must-things-to-do-when-we-import-new-databases-in-any-laravel-project/#respond</comments>
		
		<dc:creator><![CDATA[abhishek k]]></dc:creator>
		<pubDate>Sat, 20 Mar 2021 13:03:21 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[A must things to do when we import new databases in any Laravel project.]]></category>
		<category><![CDATA[import new databases in any Laravel project]]></category>
		<category><![CDATA[laravel codes]]></category>
		<category><![CDATA[laravel importing database]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5635</guid>

					<description><![CDATA[<p>Whenever we import the database we need to install the passport as it is not able to access the previous [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/a-must-things-to-do-when-we-import-new-databases-in-any-laravel-project/">A must things to do when we import new databases in any Laravel project.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Whenever we import the database we need to install the passport as it is not able to access the previous client secret. We need to change the new client secret after it is installed in the projects to all the locations required.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan passport:install
</pre></div>


<p class="wp-block-paragraph" id="block-58ae7c4c-4668-4b21-bc17-2a13058023a7">For generating key we use the following command</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan key:generate
</pre></div>


<p class="wp-block-paragraph">Then we need to run few commands for convenience so that we don&#8217;t get errors. </p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan c:cache
php artisan r:cache
php artisan r:clear
php artisan config:clear
php artisan view:clear
</pre></div>


<p class="wp-block-paragraph"><strong>If the error shows as</strong> <em>Replicating claims as headers are deprecated and will remove from v4.0. Please manually set the header if you need it replicated.</em>  then run the following command</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
composer require lcobucci/jwt=3.3.3
</pre></div>


<p class="wp-block-paragraph">We can also check for updating composer and for this we use command</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan composer:update
</pre></div>


<p class="wp-block-paragraph">to link the storage we need to run following command</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan storage:link
</pre></div>


<p class="wp-block-paragraph">We can also do for our convenience migrating the database, for this we use command</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan migrate 
</pre></div>


<p class="wp-block-paragraph">For refreshing the migration table</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan migrate:refresh
</pre></div>


<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/a-must-things-to-do-when-we-import-new-databases-in-any-laravel-project/">A must things to do when we import new databases in any Laravel project.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/a-must-things-to-do-when-we-import-new-databases-in-any-laravel-project/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
