fix: migration to version 2 in User model
This commit is contained in:
parent
e182c0a21b
commit
0fe680ef4a
|
@ -167,9 +167,9 @@ bool User::do_migration_to_1()
|
||||||
email character varying(255),
|
email character varying(255),
|
||||||
notify integer,
|
notify integer,
|
||||||
pass_type integer,
|
pass_type integer,
|
||||||
is_pass_hash_salted boolean,
|
pass_hash_salted boolean,
|
||||||
pass_encrypted bytea,
|
pass_encrypted bytea,
|
||||||
is_super_user boolean,
|
super_user boolean,
|
||||||
env text,
|
env text,
|
||||||
aenv text,
|
aenv text,
|
||||||
status integer,
|
status integer,
|
||||||
|
@ -179,7 +179,7 @@ bool User::do_migration_to_1()
|
||||||
);
|
);
|
||||||
)sql";
|
)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
|
return true; // IMPROVEME remove me in the future: this is only for a moment until we do migration on all our sites
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue