Re: [Wt-interest] Applying constraints to table fields in Dbo

2010-08-17 Thread Koen Deforche
Hey all, 2010/8/17 Alan Alvarez : > > On Tue, Aug 17, 2010 at 3:21 PM, Sohail Somani > wrote: >> >> On 10-08-17 1:40 PM, Alan Alvarez wrote: >> > Hello, >> > >> >      I'm new to using Wt and Dbo. I was wondering what the best way >> > would be to apply constraints (such as PRIMARY KEY and UNIQUE

Re: [Wt-interest] Applying constraints to table fields in Dbo

2010-08-17 Thread Alan Alvarez
On Tue, Aug 17, 2010 at 3:21 PM, Sohail Somani wrote: > On 10-08-17 1:40 PM, Alan Alvarez wrote: > > Hello, > > > > I'm new to using Wt and Dbo. I was wondering what the best way > > would be to apply constraints (such as PRIMARY KEY and UNIQUE). Also if > > there is support for SERIAL type i

Re: [Wt-interest] Applying constraints to table fields in Dbo

2010-08-17 Thread Sohail Somani
On 10-08-17 1:40 PM, Alan Alvarez wrote: > Hello, > > I'm new to using Wt and Dbo. I was wondering what the best way > would be to apply constraints (such as PRIMARY KEY and UNIQUE). Also if > there is support for SERIAL type in the PostgreSQL backend. I did this by writing the schema myself

[Wt-interest] Applying constraints to table fields in Dbo

2010-08-17 Thread Alan Alvarez
Hello, I'm new to using Wt and Dbo. I was wondering what the best way would be to apply constraints (such as PRIMARY KEY and UNIQUE). Also if there is support for SERIAL type in the PostgreSQL backend. I was also wondering you you guys chose to add the extra fields id and version to all table