piccolo icon indicating copy to clipboard operation
piccolo copied to clipboard

[Feature request] Postgres check constraint

Open satishdash opened this issue 3 years ago • 3 comments
trafficstars

Hi, Most of the features required for postgres integration are available I believe. Can we add ‘check constraint’ for table models. How do we do it today if at all i were to add a check constraint in my existing tables.

Thanks 🙏

satishdash avatar Oct 03 '22 06:10 satishdash

Yes, good point - we should add that.

The best solution for now is to create a manual migration, and add it that way.

dantownsend avatar Oct 03 '22 11:10 dantownsend

@dantownsend Any thoughts for this in the roadmap. I believe will be super useful

Also related to #784

satishdash avatar Apr 18 '23 03:04 satishdash

@satishdash I agree, this is probably the main missing feature. Just need to work out an API which fits nicely with Piccolo. If you have any ideas let me know.

dantownsend avatar Apr 18 '23 20:04 dantownsend