adonisjs error: relation already exists
snippet in javascript

adonisjs error: relation already exists

user2829

// check if youre creating a table or updating it.
// if updating tru to use:

this.alter('colaborator_data', table => {
	table.float('rating');
	table.float('price');
});