On 24 Nov 2015, at 7:09pm, Domingo Alvarez Duarte <sqlite-mail at 
dev.dadbiz.es> wrote:

>     one_type INTEGER NOT NULL REFERENCES mytype(id) NOT NULL, --how to use
> a default here ?

Include "DEFAULT 'tuple'" just like you would in PostgreSQL.

Otherwise I'm with Igor.  I don't see why you're using TRIGGERs and I don't see 
what problem you're having.  Can you point out a specific section of your 
PostgreSQL code you can't translate into SQLite ?

Simon.

Reply via email to