Skip to content

Commit a71f94f

Browse files
author
Jacob Bare
authored
Merge pull request #98 from solocommand/schema-management
Schema Management
2 parents 039d4f4 + cc31867 commit a71f94f

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

src/Persister/PersisterInterface.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,20 @@ public function inverse(EntityMetadata $owner, EntityMetadata $rel, Store $store
8989
*/
9090
public function create(Model $model);
9191

92+
/**
93+
* Applies configured schemata to the underlying storage layer
94+
*
95+
* @param EntityMetadata $metadata
96+
*/
97+
public function createSchemata(EntityMetadata $metadata);
98+
99+
/**
100+
* Re-applies configured schemata to the underlying storage layer
101+
*
102+
* @param EntityMetadata $metadata
103+
*/
104+
public function syncSchemata(EntityMetadata $metadata);
105+
92106
/**
93107
* Updates an existing database record from a model instance.
94108
*

src/Version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
*/
1010
class Version
1111
{
12-
const VERSION = '0.3.12';
12+
const VERSION = '0.3.13';
1313
const ID = 3012;
1414
const MAJOR = 0;
1515
const MINOR = 3;
16-
const PATCH = 12;
16+
const PATCH = 13;
1717
const EXTRA = '';
1818
}

0 commit comments

Comments
 (0)