[Vtigercrm-developers] bug fixes that will require a Migration script

Prasad prasad at vtiger.com
Thu Nov 5 17:30:45 GMT 2015


Thanks Alan. For now, please submit migration changes as a separate file
(say... MIGRATION-INFO.txt) or as comment on the issue.

--
FB <http://www.facebook.com/vtiger> I Twit <http://twitter.com/vtigercrm> I
LIn <https://www.linkedin.com/company/1270573?trk=tyah> I Blog
<https://blogs.vtiger.com> I Website <https://www.vtiger.com/>

On Thu, Nov 5, 2015 at 4:54 PM, Alan Bell <alan.bell at libertus.co.uk> wrote:

> Hi,
> I have a branch here
> http://code.vtiger.com/alanbell/vtigercrm/tree/secure_portal_passwords
> which contains this change
> http://code.vtiger.com/alanbell/vtigercrm/tree/secure_portal_passwords
> which should provide encrypted passwords for the customer portal. It does
> require the user_password column in the vtiger_portalinfo table to be a bit
> longer than it is at the moment, varchar(30) is not enough to store a
> hashed password, varchar(128) is OK. How should I propose this schema
> change? modules/Migration/schema/640_to_650.php doesn't exist yet.
>
> On a related note, I think it would be good if *everything* in the
> migration files would always be safe to repeat. Anything that inserts stuff
> should first check to see if it is already there, anything that transforms
> things should check to see if they have already been transformed, if doing
> it twice would be harmful. Often a migration script fails somewhere due to
> a change in a specific instance, I fix the problem and run the migration
> script again and all the previous steps that were OK now cause havoc!
>
> Alan.
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20151105/016b756d/attachment.html>


More information about the vtigercrm-developers mailing list