schultek / stormberry

Access your postgres database effortlessly from dart code.
https://pub.dev/packages/stormberry
MIT License
68 stars 17 forks source link

CREATE UNIQUE INDEX give PostgreSQLSeverity.error 42P07 #64

Open Pingear opened 1 year ago

Pingear commented 1 year ago

Hello) I have multiple tables that have columns with the same name that must have unique values.

image image

When I try to migrate I get this error

image

Since the error says that the name field already exists, but it exists in another table, but within the frame of this transaction, I believe this is an unintended option that should not lead to an error