[jifty-devel] Authentication::Password instructions in
Manual::AccessControl not producing users table in db
Jesse Vincent
jesse at bestpractical.com
Wed Jul 4 08:21:58 EDT 2007
On Jul 2, 2007, at 4:12 PM, Matthew Lenz wrote:
> On Mon, 2007-07-02 at 09:04 -0500, Andrew Sterling Hanenkamp wrote:
>> Yeah, if you add a new model to the database, you need to bump the
>> database version in your config.yml file, or it won't attempt to
>> update the database. In this case, you should also define the since
>> method on your model:
>
> I've always done that.
>
>> sub since { return '0.0.2'; }
>
> Didn't know about this though. Is it necessary? I thought Jifty
> examined the current db and applied any missing columns defined in the
> current model?
>
Right now, Jifty expects you to explicitly version your models and
columns, though there's some work ongoing to relax or remove this
requirement.
Best,
Jesse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20070704/a5cd4d09/PGP.pgp
More information about the jifty-devel
mailing list