jirapetr

Results 3 comments of jirapetr

On Laravel migration script: TABLE MASTER: $table->unsignedBigInteger('**id_card_type**')->unique(); TABLE SLAVE: $table->foreign('id_card_type')->references('**id_card_type**')->on('table_master')->onDelete('CASCADE'); // this emit error: that no primary kye or unique index exist

migration, resp. function compileUnique it should use "lower()" function only for var/text type of DB colums (not for int)

> After init of tree i added: > > `$('.treejs-switcher').each(function() { if (!$($(this)[0].parentNode).hasClass('treejs-node__close')) { $($(this)[0].parentNode).addClass('treejs-node__close') } });` > > Not very elegant but does the trick... Thank you!