mikro-orm schema:update
Update database schema based on current metadata
Options
Name | Description |
---|---|
-r, --run | Runs queries |
-d, --dump | Dumps all queries to console |
--fk-checks | Do not skip foreign key checks |
--schema <schema> | Set the current schema for wildcard schema entities |
--safe | Allows to disable table and column dropping |
--drop-tables | Allows to disable table dropping |