Skip to content

Commit 1269cdb

Browse files
committed
no new CLI
1 parent db69649 commit 1269cdb

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/marvin/cli/migrations.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -201,20 +201,6 @@ def get_current_rev(connection):
201201
return await connection.run_sync(get_current_rev)
202202

203203

204-
@migrations.command("init")
205-
def init_db():
206-
"""Create database tables directly without using migrations."""
207-
try:
208-
from marvin.database import create_db_and_tables
209-
210-
console.print("[blue]Creating database tables...[/blue]")
211-
asyncio.run(create_db_and_tables())
212-
console.print("[green]Database tables created successfully[/green]")
213-
except Exception as e:
214-
console.print(f"[red]Failed to create database tables: {e}[/red]")
215-
sys.exit(1)
216-
217-
218204
@migrations.command("status")
219205
def status():
220206
"""Show database migration status and information."""

0 commit comments

Comments
 (0)