Go to file
Johnathan Douglas 36577aa2e6 update massive 2023-07-07 18:37:17 -03:00
app update massive 2023-07-07 18:37:17 -03:00
bootstrap init 2023-07-07 15:00:23 +00:00
config update massive 2023-07-07 18:37:17 -03:00
database update massive 2023-07-07 18:37:17 -03:00
public init 2023-07-07 15:00:23 +00:00
resources init 2023-07-07 15:00:23 +00:00
routes init 2023-07-07 15:00:23 +00:00
storage init 2023-07-07 15:00:23 +00:00
tests init 2023-07-07 15:00:23 +00:00
.editorconfig init 2023-07-07 15:00:23 +00:00
.env.example migration 2023-07-07 12:09:06 -03:00
.gitattributes init 2023-07-07 15:00:23 +00:00
.gitignore init 2023-07-07 15:00:23 +00:00
README.md update massive 2023-07-07 18:37:17 -03:00
artisan init 2023-07-07 15:00:23 +00:00
composer.json init 2023-07-07 15:00:23 +00:00
composer.lock init 2023-07-07 15:00:23 +00:00
package.json init 2023-07-07 15:00:23 +00:00
phpunit.xml init 2023-07-07 15:00:23 +00:00
vite.config.js init 2023-07-07 15:00:23 +00:00

README.md

Install

create database example-update-massive

configure .env

DB_CONNECTION=pgsql
DB_HOST=postgres
DB_PORT=5432
DB_DATABASE=example-update-massive
DB_USERNAME=default
DB_PASSWORD=secret

QUEUE_CONNECTION=database

ITEMS_COUNT=10000

ITEMS_COUNT é a variavel que irá definir quantos registros a fatory irá criar no banco de dados.

run migrate;

php artisan migrate:fresh --seed