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

Duplicated default value for column every time #200

Open
JakkuSakura opened this issue Mar 14, 2022 · 0 comments
Open

Duplicated default value for column every time #200

JakkuSakura opened this issue Mar 14, 2022 · 0 comments
Labels

Comments

@JakkuSakura
Copy link

I have a table xxx

create table xxxxx (
yyy oid  DEFAULT (EXTRACT(EPOCH FROM NOW()))::bigint
);

But everytime I run migra, it prompts:

ALTER TABLE xxxxx
  ALTER COLUMN "yyy" SET DEFAULT (EXTRACT(EPOCH FROM NOW()))::bigint;
@maximsmol maximsmol added the bug label Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants