Hacker News new | ask | show | jobs
by ericathegreat 2800 days ago
I like the look of this. A couple of questions I can't see answers to on the landing page... - Is it possible to change the schema after creation? Or is this a "get it right first time" deal? - Is validation strictly not-null/range-check? Or can you add more complex validation rules?
1 comments

Hi, thanks for looking. You can edit your data models at any time - fields can be added/removed/renamed as necessary. There is some validation already - string stra fields must be strings, number fields must be numbers, etc and you can make fields as required (meaning that it a value must be supplied), unique (meaning that two instances can't have the same value for a particular field) and also set default values. Additionally, foreign key and many to many fields are validated to ensure the related objects actually exist.

I'll also be adding additional validation (e.g. regex, max/min numbers) in the very near future