mirror of
https://github.com/Shu-Ying/main_plugin_farm.git
synced 2026-11-03 19:20:16 +08:00
add # 新增偷菜功能
This commit is contained in:
@@ -116,6 +116,8 @@ class MigrationTests(unittest.IsolatedAsyncioTestCase):
|
||||
def create_v1(self, path, unknown=False, version=1):
|
||||
with closing(sqlite3.connect(path)) as db, db:
|
||||
for statement in SCHEMA:
|
||||
if statement.startswith('CREATE TABLE thefts('):
|
||||
continue
|
||||
if version == 1 and statement.startswith("CREATE TABLE inventory("):
|
||||
statement = """CREATE TABLE inventory(
|
||||
identity TEXT, name TEXT, seeds INTEGER,
|
||||
|
||||
Reference in New Issue
Block a user