adonisjs column default value
snippet in javascript

adonisjs column default value

user853

this.alter('mytable', (table) => {
	table.boolean('columnxxxxx').defaultTo(true)
	table.boolean('columnyyyyy').defaultTo(true)
})