Skip to content

Commit 4c9b52a

Browse files
authored
Merge pull request #19 from gmclelland/patch-1
Change required to run the database update
2 parents de51667 + 5b659f4 commit 4c9b52a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

FieldtypeLeafletMapMarker.module

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ class FieldtypeLeafletMapMarker extends Fieldtype {
174174
*
175175
*/
176176
protected function updateDatabaseSchema(Field $field, array $schema) {
177-
178-
$requiredVersion = 1;
177+
// increment the requiredVersion number with each new database schema change
178+
$requiredVersion = 2;
179179
$schemaVersion = (int) $field->schemaVersion;
180180

181181
if($schemaVersion >= $requiredVersion) {

0 commit comments

Comments
 (0)