You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ adonis migration:run --force # In production, i know.
2017-10-12T13:31:25.582367+00:00 app[release.8544]: TypeError: this.createIfNotExists is not a function
2017-10-12T13:31:25.582374+00:00 app[release.8544]: at BlogPostSchema.up (/app/database/migrations/1507717880308_blog_post_schema.js:7:10)
2017-10-12T13:31:25.582375+00:00 app[release.8544]: at Migration._executeSchema (/app/node_modules/@adonisjs/lucid/src/Migration/index.js:250:36)
2017-10-12T13:31:25.582376+00:00 app[release.8544]: at Migration._execute (/app/node_modules/@adonisjs/lucid/src/Migration/index.js:270:18)
2017-10-12T13:31:25.582377+00:00 app[release.8544]: at Migration.up (/app/node_modules/@adonisjs/lucid/src/Migration/index.js:362:18)
2017-10-12T13:31:25.582377+00:00 app[release.8544]: at <anonymous>
Version
Latest AdonisJS & packages versions.
The text was updated successfully, but these errors were encountered:
Brief Description
Schema.createIfNotExists is not a function. Title is self-explanatory.
Sample Code
Commit for reference: ToxWebsite/tox.chat@e76513a
Error Stack (if any)
Version
Latest AdonisJS & packages versions.
The text was updated successfully, but these errors were encountered: