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

Add Column type TIMESTAMP from sqlalchemy #124

Open
GohuHQ opened this issue Aug 7, 2019 · 0 comments
Open

Add Column type TIMESTAMP from sqlalchemy #124

GohuHQ opened this issue Aug 7, 2019 · 0 comments
Assignees

Comments

@GohuHQ
Copy link
Contributor

@GohuHQ GohuHQ commented Aug 7, 2019

Hello,

I'm working on a project using MySQL and the field type Timestamp is used.
I can only declare date columns types with DateTime and Time.

The sqlalchemy type is TIMESTAMP, i'll need to use sqlalchemy server_default to register the following instruction 'CURRENT_TIMESTAMP ON UPDATE CURRENT TIMESTAMP'.
Maybe it can be good to build this instruction with anyblok column parameters : default (already existing) and update_default (new) maybe ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.