i'm a beginner, i start to use compoudjs and i use jungglingdb for the database and the module jungglung-postgres. my question is, how can i add constraint to created tables? i try this var User = describe('User', function () { property('firstname', String); property('lastname', String); property('password', String,{ limit: 50); property('email', String {unique:true}); property('approved', Boolean); set('restPath', pathTo.users); }); but its not working
please help. tanks