mikro-orm schema:update

Update database schema based on current metadata

Options

NameDescription
-r, --runRuns queries
-d, --dumpDumps all queries to console
--fk-checksDo not skip foreign key checks
--schema <schema>Set the current schema for wildcard schema entities
--safeAllows to disable table and column dropping
--drop-tablesAllows to disable table dropping