DBIx-Class-Migration
DBIx-Class-Migration copied to clipboard
Use DBIC::DeploymentHandler and DBIC::Fixtures together for a sane database versioning workflow
``` Can't find a share for Schema coercion for "target_dir" failed: Can't find a share for Schema at local/lib/perl5/DBIx/Class/Migration.pm line 103. ``` It would be better if error message mention...
Upgrade is correct: ```diff diff --git a/share/migrations/PostgreSQL/upgrade/4-5/001-auto.sql b/share/migrations/Post> new file mode 100644 index 000000000..69d445035 --- /dev/null +++ b/share/migrations/PostgreSQL/upgrade/4-5/001-auto.sql @@ -0,0 +1,15 @@ +-- Convert schema '/home/kes/work/projects/bot/app/share/migrations/_source/deploy/4/001> + +; +BEGIN; +...
Example 1: * Go to https://metacpan.org/search?q=DBIx-Class-Migration * The following links are broken: * [DBIx-Class-Migration-0.075](https://metacpan.org/dist/DBIx-Class-Migration) * [DBIx::Class::Migration::FAQ](https://metacpan.org/dist/DBIx-Class-Migration/view/lib/DBIx/Class/Migration/FAQ.pod) - Answers to Frequently Asked Questions * [DBIx::Class::Migration::Types](https://metacpan.org/pod/DBIx::Class::Migration::Types) - Custom Type::Tiny Types * [DBIx::Class::Migration::Script](https://metacpan.org/pod/DBIx::Class::Migration::Script)...
During the `prepare` step, Postgres table and row comments are copied from the database into appropriate places in the Result classes - that's an excellent feature and it works correctly....
Rather than filtering the traits list to ones not generated by MooX::Traits::Util, filter for %INC entries that came from their own files by checking that the file matches the trait...
It is a question about commit 31395a9a743d303850be92ad38a2fe5ece0427f3 (HEAD) Date: Thu Mar 14 19:33:27 2019 +0000 I have a stable script for manipulation with DB versions. It has a user menu...
My `upgrade` script looks like: ```sql BEGIN; update opfg set name = 'ТОВ' where kod = 240; update opfg set name = 'ФОП' where kod = 0; update opfg set...
Postgres 10 [introduced the syntax](https://www.postgresql.org/docs/10/sql-createtable.html): `INT GENERATED ALWAYS AS IDENTITY ` as a replacement for `SERIAL`, but the new syntax is not recognised, and so `auto_increment` flag is missing from...
Hi folks - thanks for all your work on this package. I'm trying to integrate this with an existing app that piggy-backs off of a bugzilla server/database, but has additional...
I try to pass a specific producer_arg (mysql_version) to dbic-migration on the command line like described here: https://metacpan.org/pod/DBIx::Class::Migration::Script#sql_translator_args I tried the following: ``` dbic-migration prepare -S Kanku::Schema --dsn $KANKU_DSN \...