mirror of
https://github.com/lalanza808/monero.fail.git
synced 2025-08-24 11:59:20 -04:00
add simple schema migration script
This commit is contained in:
parent
a2dadc97c5
commit
726d2766e8
2 changed files with 20 additions and 0 deletions
|
@ -321,6 +321,10 @@ def get_peers():
|
|||
rw_cache('map_peers', list(Peer.select().execute()))
|
||||
|
||||
|
||||
@app.cli.command('init')
|
||||
def init():
|
||||
pass
|
||||
|
||||
@app.cli.command("validate")
|
||||
def validate():
|
||||
nodes = Node.select().where(Node.validated == False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue