...
Code Block | ||
---|---|---|
| ||
# drop your existing database: mysql -u root -e "drop database nmsprime" # create the database mysql -u root -e "DROP DATABASE nmsprime; DROP DATABASE nmsprime_ccc; CREATE DATABASE nmsprime CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci'; CREATE DATABASE nmsprime_ccc CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci';" # change directory to the artisan folder in nmsprime cd /var/www/nmsprime/ # use php artisan to start the migrate-process php artisan migrate php artisan module:migrate |
...