Esempio n. 1
0
 protected function saveMigr(Schema $s, $name = 'my migration')
 {
     $this->last_migr++;
     file_put_contents(TEST_MIGR . '/' . $s->makeMigrationName($name, $this->last_migr), $s->makeMigration($name));
 }
Esempio n. 2
0
 /** @return static */
 public function addSchema(Schema $schema)
 {
     $this->schemas[$schema->getName()] = $schema;
     return $this;
 }