コード例 #1
0
ファイル: Flat.php プロジェクト: gpopoteur/flat
 /**
  * Checks if the Schema or Database already exists
  * @param  string $flat Flat name
  * @return boolean      true if schema name already exists, false if not
  */
 public function exists($flat)
 {
     return $this->schema->exists($flat);
 }
コード例 #2
0
ファイル: SqliteSchema.php プロジェクト: gpopoteur/flat
 public function __construct(DatabaseManager $db, Artisan $artisan)
 {
     parent::__construct($db, $artisan);
     $this->directoryPath = 'flat-sqlite-db';
 }