-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kurt Friars
committed
Oct 7, 2024
1 parent
9e542c7
commit 2e12f2a
Showing
6 changed files
with
63 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
|
||
namespace Plank\Snapshots\Schema; | ||
|
||
use Illuminate\Database\Schema\Builder; | ||
use Nette\NotImplementedException; | ||
use Plank\Snapshots\Concerns\HasVersionedSchema; | ||
use Plank\Snapshots\Contracts\VersionedSchema; | ||
|
||
/** | ||
* @mixin Builder | ||
*/ | ||
class SnapshotBuilder extends Builder implements VersionedSchema | ||
{ | ||
use HasVersionedSchema; | ||
|
||
/** | ||
* Get the indexes for a given table. | ||
* | ||
* @param string $table | ||
* @return array | ||
*/ | ||
public function getIndexes($table) | ||
{ | ||
throw new NotImplementedException('The `getIndexes` method requires a grammar specific Schema Builder.'); | ||
} | ||
|
||
/** | ||
* Get the foreign keys for a given table. | ||
* | ||
* @param string $table | ||
* @return array | ||
*/ | ||
public function getForeignKeys($table) | ||
{ | ||
throw new NotImplementedException('The `getForeignKeys` method requires a grammar specific Schema Builder.'); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters