Ookma-Kyi
12/24/2022, 8:32 PMDaniel Mejia
12/24/2022, 8:34 PMDaniel Mejia
12/24/2022, 8:34 PMDaniel Mejia
12/24/2022, 8:35 PMDaniel Mejia
12/24/2022, 8:38 PMOokma-Kyi
12/24/2022, 8:38 PMOokma-Kyi
12/24/2022, 8:45 PMcomponent {
function up( schema, query ){
schema.create( "roles", function(table) {
table.increments( "id" );
table.string( "name", 32 ).unique();
table.string( "description", 32 ).unique();
} );
}
function down( schema, query ){
schema.drop( "belts" );
}
}
Do I need a join table or do I have to modify the user schema? If I have to modify the user schema what do I have to do?Daniel Mejia
12/24/2022, 9:04 PMOokma-Kyi
12/24/2022, 9:04 PMOokma-Kyi
12/24/2022, 9:04 PMDaniel Mejia
12/24/2022, 9:05 PMOokma-Kyi
12/29/2022, 12:14 AMbdw429s
12/29/2022, 12:27 AMbdw429s
12/29/2022, 12:28 AM