AnatolyUss/nmig

Feature Request: hability to set sequence names

amatosg opened this issue · 3 comments

it would be nice to be able to set the suffix of sequences, right now it's {table_name}_id_seq instead of using the {table_name}_seq convention

Hi Alejandro,
The convention for sequence names from what I read is ${ tableName }_${ columnName }_seq.
That is why this convention was adopted in Nmig.
Furthermore, when you create a new table with SERIAL column using PgAdmin, the sequence name will have a form of ${ tableName }_${ columnName }_seq.
Could you elaborate why the ability to set suffix is necessary?

you are correct, I totally misread a post in SO. I'm sorry 🙊

Never mind ;-)