Thu, 15 Jan 2015 19:17:32 +0100 Ask sqlite to check foreign keys
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 19:17:32 +0100] rev 10205
Ask sqlite to check foreign keys Related to #4846892
Thu, 15 Jan 2015 18:53:45 +0100 Add reference from etype table's eid column to the entities table
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 18:53:45 +0100] rev 10204
Add reference from etype table's eid column to the entities table Related to #4846892.
Fri, 16 Jan 2015 14:30:55 +0100 [server] change order of entities table modification vs entity creation/deletion
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Jan 2015 14:30:55 +0100] rev 10203
[server] change order of entities table modification vs entity creation/deletion In order to have a foreign key referencing the entities table, the insertion into entities must happen first, and the deletion must happen last. For the deletion case, this means we need to: 1. delete all relations (cascade) 2. delete the entities themselves 3. delete the corresponding lines from the entities table This means the _delete_info{,_multi} methods can't keep doing 1 and 3. Thankfully the "public" delete_info method appears to be unused, so drop it. Related to #4846892.
Thu, 15 Jan 2015 17:06:16 +0100 Use foreign keys for relations tables
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 17:06:16 +0100] rev 10202
Use foreign keys for relations tables Closes #4846892
Thu, 15 Jan 2015 16:49:32 +0100 Add foreign key for inline relations
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 16:49:32 +0100] rev 10201
Add foreign key for inline relations Related to #4846892
Thu, 15 Jan 2015 16:44:36 +0100 Use our version of schema2sql
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 16:44:36 +0100] rev 10200
Use our version of schema2sql Related to #4846892
Thu, 15 Jan 2015 16:39:35 +0100 Steal schema2sql module from yams
Julien Cristau <julien.cristau@logilab.fr> [Thu, 15 Jan 2015 16:39:35 +0100] rev 10199
Steal schema2sql module from yams It has no user inside yams, and we need it here if we want to be able to reference the (cubicweb-only) entities table from other tables. Related to #4846892
Thu, 05 Feb 2015 19:36:49 +0100 [dataimport] fix pylint detected error in SQLGenObjectStore
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 Feb 2015 19:36:49 +0100] rev 10198
[dataimport] fix pylint detected error in SQLGenObjectStore
Tue, 27 Jan 2015 10:20:15 +0100 [restore/portable] properly restore the numrange generator
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 27 Jan 2015 10:20:15 +0100] rev 10197
[restore/portable] properly restore the numrange generator If the dump format version is 1.1, read and restore numranges. Closes #4870338
Mon, 26 Jan 2015 18:05:24 +0100 [backup/portable] properly write the eid numrange generator (the eid is no more a sequence)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 26 Jan 2015 18:05:24 +0100] rev 10196
[backup/portable] properly write the eid numrange generator (the eid is no more a sequence) Bump format version to 1.1. Related to #4870338
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 tip