Skip to content

Commit 5b659f4

Browse files
authored
Change required to run the database update
1 parent de51667 commit 5b659f4

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)