Get Unknown column 'password' in 'field list' when i try to upgrade nextcloud

I’ve been struggling to install nextcloud for the last couple of weeks, i finally managed, but when i try to upgrade it it gives me this error i’ve never seen before and i don’t know where these columns even are located