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

Invalid default value for 'created_at' #71

Open
atomical opened this issue Jul 5, 2022 · 1 comment
Open

Invalid default value for 'created_at' #71

atomical opened this issue Jul 5, 2022 · 1 comment

Comments

@atomical
Copy link

atomical commented Jul 5, 2022

The default has CURRENT_TIMESTAMP in schema.rb

This is when I run rake db:test:prepare

@atomical
Copy link
Author

The file schema.rb has a syntax error because of a database default that is set:

    t.timestamp "db_created_at",       :default=>#<Proc:0x000000010bfaab70 (eval):1 (lambda)>, :null=>false

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