Actually we can not use "select"? on constraints ! Cheers ! > Tue Nov 24 2015 8:43:57 pm CET CET from "Igor Tandetnik" ><igor at tandetnik.org> Subject: Re: [sqlite] Dont Repeat Yourself (DRY) and >SQLite > > On 11/24/2015 2:09 PM, Domingo Alvarez Duarte wrote: > >>I'm trying to migrate a database from PostgreSQL to SQLite but could not >>find >> a way to do it and stay DRY, is it possible to do it ? >>
> SQLite supports CHECK constraints, just like Postrgress. Why do you feel > you need triggers? > > >>Using literals for one_type is not an acceptable option ! >> > I'm not sure I understand. What else do you plan to use? > -- > Igor Tandetnik > > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > > > ?