Lines Matching defs:schema
67 $schema = new Schema($table);
68 foreach ($schema->getColumns() as $col) {
71 $this->updateColumnID($schema, $col, $old, $new, true);
73 $this->updateColumnLookup($schema, $col, $old, $new);
76 $this->updateColumnID($schema, $col, $old, $new);
113 * Update the page-schema assignments
143 * @param Schema $schema
149 protected function updateColumnID(Schema $schema, Column $col, $old, $new, $hashes = false)
152 $table = $schema->getTable();
183 * Lookups contain a page id when the referenced schema is a data schema
185 * @param Schema $schema
190 protected function updateColumnLookup(Schema $schema, Column $col, $old, $new)
193 $ref = new Schema($tconf['schema']);
194 if (!$ref->getId()) return; // this schema does not exist
196 $this->updateColumnID($schema, $col, $old, $new);