File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,10 @@ Migration.prototype.defaultJsTemplate = function() {
115
115
'exports.down = function(db) {' ,
116
116
' return null;' ,
117
117
'};' ,
118
+ '' ,
119
+ 'exports._meta = {' ,
120
+ ' "version": 1' ,
121
+ '};' ,
118
122
''
119
123
] . join ( '\n' ) ;
120
124
} ;
@@ -177,6 +181,10 @@ Migration.prototype.sqlFileLoaderTemplate = function() {
177
181
' return db.runSql(data);' ,
178
182
' });' ,
179
183
'};' ,
184
+ '' ,
185
+ 'exports._meta = {' ,
186
+ ' "version": 1' ,
187
+ '};' ,
180
188
''
181
189
] . join ( '\n' ) ;
182
190
} ;
@@ -242,6 +250,10 @@ Migration.prototype.sqlFileLoaderIgnoreOnInitTemplate = function() {
242
250
' return db.runSql(data);' ,
243
251
' });' ,
244
252
'};' ,
253
+ '' ,
254
+ 'exports._meta = {' ,
255
+ ' "version": 1' ,
256
+ '};' ,
245
257
''
246
258
] . join ( '\n' ) ;
247
259
} ;
You can’t perform that action at this time.
0 commit comments