Skip to content

Cant pass a text function for server_default in kwargs #112

@javivallejo

Description

@javivallejo

When defining a column_kwargs dict to define a Table, there is no way to pass a text() function to be rendered as it is, as defined in the SQLAlchemy docs here

I cannot make it work to pass a server_default value of CURRENT_TIMESTAMP in order to make the DB assign this value.

Am I doing something wrong or is it an issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions