Re: [Aikiframework-devel] How to add something to upgrader

2012-03-28 Thread Jon Phillips
can you add it real quick? 2012/3/29 Jakub Jankiewicz : > Great, so in most cases it's automatic. > > PS: You should put this in the wiki, it isn't there > upgrages[501] = "UPDATE some_table WITH aiki_parent= aiki_father"; > > On Wed, 28 Mar 2012 21:46:35 +0200 > Roger Martín wrote: > >> Hi peopl

Re: [Aikiframework-devel] How to add something to upgrader

2012-03-28 Thread Jakub Jankiewicz
Great, so in most cases it's automatic. PS: You should put this in the wiki, it isn't there upgrages[501] = "UPDATE some_table WITH aiki_parent= aiki_father"; On Wed, 28 Mar 2012 21:46:35 +0200 Roger Martín wrote: > Hi people > > Now upgrader only upgrade database structure checking: > "AIKI_R

Re: [Aikiframework-devel] How to add something to upgrader

2012-03-28 Thread Christopher Adams
This is great! Great work Roger! Christopher On Thu, Mar 29, 2012 at 8:58 AM, Jon Phillips wrote: > Exellent1 > > Jon Phillips > bj. +86-187-1003-9974 > sf. +1-415-830-3884 > http://fabricatorz.com > > On Mar 29, 2012 3:46 AM, "Roger Martín" wrote: > > Hi people > > Now upgrader only upgrade d

Re: [Aikiframework-devel] How to add something to upgrader

2012-03-28 Thread Jon Phillips
Exellent1 Jon Phillips bj. +86-187-1003-9974 sf. +1-415-830-3884 http://fabricatorz.com On Mar 29, 2012 3:46 AM, "Roger Martín" wrote: Hi people Now upgrader only upgrade database structure checking: "AIKI_ROOT_DIR/sql/CreateTables.sql", "AIKI_ROOT_DIR/sql/CreateTablesSite.sql" (optional for s

Re: [Aikiframework-devel] How to add something to upgrader

2012-03-28 Thread Roger Martín
Hi people Now upgrader only upgrade database structure checking: "AIKI_ROOT_DIR/sql/CreateTables.sql", "AIKI_ROOT_DIR/sql/CreateTablesSite.sql" (optional for site) Upgrader add new field, and index, but never delete a field or a table. First version upgrade some data, but as admin is inserted in

Re: [Aikiframework-devel] How to add something to upgrader

2012-03-27 Thread Jon Phillips
That is a good point. Whenever we change aiki, how can we also make sure to update the upgrader so it can update older sites? Also, what kind of operations can it do? Jon On Tue, Mar 27, 2012 at 5:18 PM, Jakub Jankiewicz wrote: > Hi. > > I want to add `id` to aiki_dictionaries table (it will be

[Aikiframework-devel] How to add something to upgrader

2012-03-27 Thread Jakub Jankiewicz
Hi. I want to add `id` to aiki_dictionaries table (it will be much easier to work with translations, like delete and add translation if you use id instead of term). And if this is not done term, and translation need to be text and no multiply key. How to add this modification to upgrader? -- Jak