adonisjs error 3a relation already exists

Solutions on MaxInterview for adonisjs error 3a relation already exists by the best coders in the world

showing results for - "adonisjs error 3a relation already exists"
Angelo
09 Aug 2017
1// check if youre creating a table or updating it.
2// if updating tru to use:
3
4this.alter('colaborator_data', table => {
5	table.float('rating');
6	table.float('price');
7});