NTMS
-hapus entri di table "migrations"
-hapus table yang sudah digenerate
php artisan migrate
--
Soalnya kalau pakai "php artisan migrate:fresh" kehapus semua tabel2 yang sudah ada datanya
bismillah... this is my site, agung sagita's site, where i spill all my idea, my feeling, my thinking and everything...
31 May 2019
Deployement Ke Server App Dengan Laravel Framework Error File Put Contents
NTMS
Kalau deployment instan main copy app laravel ke server , ada error file put contents, info dari stackoverflow ini solve problem
- install composer di server
- delete2 file di bawah folder
- buka cmd, jalankan php artisan cache:clear, kalau failed
- jalanin
Kalau deployment instan main copy app laravel ke server , ada error file put contents, info dari stackoverflow ini solve problem
- install composer di server
- delete2 file di bawah folder
- storage\cache
- storage\sessions
- storage\views
Kalau ga ada harus bikin folder struktur dibawah storage, tapi itu kalau pakai laravel < 5.2
- buka cmd, jalankan php artisan cache:clear, kalau failed
- jalanin
- php artisan config:clear
- php artisan config:cache
Done !
Subscribe to:
Posts (Atom)