We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Axe API should be able to update timestamps automatically. But also, developers should be able to change the column name in the model definition.
To define column name;
import { Model } from "axe-api"; class User extends Model { get createdAtColumn () { return 'created_at' } get updatedAtColumn () { return 'updated_at' } } export default User;
created_at
updated_at
NULL
The text was updated successfully, but these errors were encountered:
6fa2fd3
Fixed #17
2107fe7
5e55831
ozziest
No branches or pull requests
Axe API should be able to update timestamps automatically. But also, developers should be able to change the column name in the model definition.
Usage
To define column name;
created_at
,updated_at
NULL
The text was updated successfully, but these errors were encountered: