Is it possible to generate a default value concatenating with NEXTVAL?
For example, I want to do this
But the generated SQL is incorrect with extra quotes wrapping the default:
1 Reply
It looks like this is possible via the
sql
operator
But if I try to inject the sequence name I get the following error from drizzle-kit generate
It seems this can be done with sql.raw