Browse Source

fix: migration to version 2 in User model

master
Tomasz Sowa 4 months ago
parent
commit
0fe680ef4a
  1. 6
      winixd/models/user.cpp

6
winixd/models/user.cpp

@ -167,9 +167,9 @@ bool User::do_migration_to_1()
email character varying(255),
notify integer,
pass_type integer,
is_pass_hash_salted boolean,
pass_hash_salted boolean,
pass_encrypted bytea,
is_super_user boolean,
super_user boolean,
env text,
aenv text,
status integer,
@ -179,7 +179,7 @@ bool User::do_migration_to_1()
);
)sql";
db_query(str);
return db_query(str);
return true; // IMPROVEME remove me in the future: this is only for a moment until we do migration on all our sites
}

Loading…
Cancel
Save