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
<any-help>Do you have more complete example somewhere. Your code does not show, where this is coming from. In knex you would usually use knex.raw or knex.schema.raw... Anyways I don't know anything about adonis-lucid so this might not be helpful at all :)</any-help>
I'm trying to use
this.raw
in migrations to alter existing columns since knex doesn't support this yet: knex/knex#46, knex/knex#1759When I try to execute the following command:
I get the following error:
error: alter table users alter column company_id set not null; - bind message supplies 1 parameters, but prepared statement "" requires 0
Turning on the debug flag shows the following:
Trying to follow the docs, I tried:
And received this error:
TypeError: Cannot read property 'table' of undefined
Any help would be appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: