[PATCH] D40704: Import db.migrate module in update command.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 1 10:45:11 PST 2017


fhahn added a comment.

I used

In https://reviews.llvm.org/D40704#942439, @MatzeB wrote:

> I wonder: Is this functionality good for anything nowadays? LNT always performs an upgrade when the server is started, so I don't see why one would want to do it manually. So the better fix may be to just remove the whole function :)


I just used it to initialize the tables in multiple postgresql databases, as there is no createdb command anymore (I am running a LNT instance with multiple databases). But maybe there is a better way to do that? AFAIK `lnt create ` only initializes a single database, and the empty databases I added additionally where not recognized until I ran `lnt update` on them.


https://reviews.llvm.org/D40704





More information about the llvm-commits mailing list