NAME
[%- updater_script_name -%] - updater script for RapidDbic model '[%- model_class -%]'
SYNOPSIS
perl devel/[%- updater_script_name -%] [options]
Options:
--schema Regenerate DBIx::Class schema [% IF from_ddl %]
--from-ddl Recreate db from DDL (implies --schema)
--go Do not prompt before overwriting db from DDL [% END %]
--cfg Update TableSpec configs for new defaults (nondestructive)
[% IF from_ddl %]
--all Shortcut for: --from-ddl --schema --cfg [% ELSE %]
--all Shortcut for: --schema --cfg [% END %]
TableSpec Config Update (--cfg):
When called with the --cfg option, the TableSpec configs within the RapidDbic section of
the model will be updated to match the schema class. This is a non-destructive operation,
it will not change any existing configs, just add defaults that do not already exist. This
adds boilerplate for new tables and columns which were added after the app was bootstrapped.