--- lib/Arh/Model/Picture.pm 2007/11/30 17:35:14 17 +++ lib/Arh/Model/Picture.pm 2008/04/06 14:42:08 44 @@ -8,6 +8,18 @@ use Arh::Record schema { + column filename => + label is _("Picture filename"); +# is immutable, +# is indexed, +# is unique; + + column content => + label is _('Picture'), + type is 'bytea', + render as 'Upload', + is mandatory; + column campaign => label is _("Part of campaign"), refers_to Arh::Model::Campaign, @@ -15,12 +27,6 @@ is indexed, since '0.0.4'; - column filename => - label is _("Picture filename"), - is mandatory, - is indexed, - is unique; - column type => label is _("Type of picture"), refers_to Arh::Model::PictureType,