ID field definition:
id SERIAL NOT NULL PRIMARY KEY,
The insert statement:
$c->stash->{quote} = $c->model('CatapultDB::Quotes')->create({
id => 'DEFAULT',
quote => $c->request->params->{quote},
author => $c->request->params->{author},
category => $c->request->params->{category},
active => 'true'
});
best,
/dennis
_______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
