X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDeploymentHandler%2FDeployMethod%2FSQL%2FTranslator.pm;h=5084bf8408c77c6a8ad71b0fd423da4b2a6bc075;hb=a65184c855392d390489326e8363ffbe9a0e7fee;hp=65c57c5a452ad515b5e2046418e824ffd275fae0;hpb=96ef97e5693ee296b0b1eedf9910101dfb329a5a;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm b/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm index 65c57c5..5084bf8 100644 --- a/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm +++ b/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm @@ -56,12 +56,6 @@ has databases => ( default => sub { [qw( MySQL SQLite PostgreSQL )] }, ); -has _filedata => ( - isa => 'ArrayRef[Str]', - is => 'rw', - default => sub { [] }, -); - has txn_wrap => ( is => 'ro', isa => 'Bool', @@ -432,4 +426,63 @@ __PACKAGE__->meta->make_immutable; __END__ +=attr schema + +=attr storage + +=attr sqltargs + +#rename + +=attr upgrade_directory + +The directory (default C<'sql'>) that upgrades are stored in + +=attr databases + +The types of databases (default C<< [qw( MySQL SQLite PostgreSQL )] >>) to +generate files for + +=attr txn_wrap + +=method __ddl_consume_with_prefix + +=method _ddl_schema_consume_filenames + +=method _ddl_schema_produce_filename + +=method _ddl_schema_up_consume_filenames + +=method _ddl_schema_down_consume_filenames + +=method _ddl_schema_up_produce_filenames + +=method _ddl_schema_down_produce_filenames + +=method _resultsource_install_filename + +=method _run_sql_and_perl + +=method _prepare_install + +=method _prepare_changegrade + +=method _read_sql_file + +=method deploy + +=method install_resultsource + +=method prepare_resultsouce_install + +=method prepare_install + +=method prepare_upgrade + +=method prepare_downgrade + +=method upgrade_single_step + +=method downgrade_single_step + vim: ts=2 sw=2 expandtab