Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import current_timestamp() default from MariaDB [rt.cpan.org #134064] #42

Open
rabbiveesh opened this issue Nov 20, 2022 · 0 comments

Comments

@rabbiveesh
Copy link
Contributor

Migrated from rt.cpan.org#134064 (status was 'new')

Requestors:

From dlambley@cpan.org on 2021-01-18 18:56:27
:

MariaDB made a change about five years ago which causes it to say "current_timestamp()" rather than "current_timestamp". This prevent DBIx::Class::Schema::Loader from correctly importing such default values.

The change happened here, https://github.com/MariaDB/server/commit/a411d7f4f670c24b43b50f7d2a1129e10218f4a7

I have made a pull request which should fix this problem, https://github.com/dbsrgits/dbix-class-schema-loader/pull/24

Best regards,
Dave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant