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

Make the create_at and update_at fields optional #22

Open
Jax-p opened this issue Jun 16, 2020 · 0 comments
Open

Make the create_at and update_at fields optional #22

Jax-p opened this issue Jun 16, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Jax-p
Copy link
Contributor

Jax-p commented Jun 16, 2020

Is there a possibility to create table without created_at and updated_at?
I don't want it in every table and also I would like to rename it and move at the end of the table. Currently these are the first columns in created table.

I extend BaseModel

@Model("users")
class UserModel extends BaseModel {
    //....
}
@Jax-p Jax-p changed the title created_at and updated_at Remove or edit columns created_at and updated_at Jun 16, 2020
@manyuanrong manyuanrong changed the title Remove or edit columns created_at and updated_at Make the create_at and update_at fields optional Jun 17, 2020
@manyuanrong manyuanrong added the enhancement New feature or request label Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants