pluf2

pluf2 Git Source Tree


Root/src/Pluf/DB

File Age Message Size
  ..
tree Field
tree Introspect
tree Schema
blob Field.php 15 years 2 months Loic d'Anterroches: Improved the performance of the ORM for fast backup, restore (20% faster). 3.58 kB
blob Introspect.php 16 years 1 month Loic d'Anterroches: Initial import. 1.70 kB
blob MySQL.php 15 years 1 month Loic d'Anterroches: Added the support of the MySQL transactions. 5.21 kB
blob PostgreSQL.php 15 years 11 months Loic d'Anterroches: Added the tracking of the search path. 6.70 kB
blob Schema.php 12 years 7 months Thomas Keller: When new tables are created (e.g. on initial installations or during upgrades), Pluf used to create foreign key relations as part of the table definitions. This however made problems when two tables, A and B, cross-referenced themselves via a foreign key relation, because strict DBMS like PostgreSQL or MySQL couldn't create such a relation without that both target tables existed prior. This patch changes this behaviour by separating table creation and foreign key setup into two phases, that have to be called after another, namely Pluf_DB_Schema::createTables() and Pluf_DB_Schema::createConstraints(). For "reverse" migrations the same logic is used, at first Pluf_DB_Schema::dropConstraints() has to be called, then Pluf_DB_Schema::dropTables() can be executed. 4.55 kB
blob SchemaInfo.php 16 years 1 month Loic d'Anterroches: Initial import. 2.19 kB
blob SQLite.php 16 years 29 days Loic d'Anterroches: Fixed the escaping of blobs for SQLite. 4.57 kB
blob Stats.php 14 years 10 months Loic d'Anterroches: Added a DB wrapper generating statistics. 2.95 kB

Archive Download this version or git clone git://archive.srchub.org/pluf2.git Help

Branches

Number of commits:
Page rendered in 0.15408s using 20 queries.