We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db69649 commit 1269cdbCopy full SHA for 1269cdb
src/marvin/cli/migrations.py
@@ -201,20 +201,6 @@ def get_current_rev(connection):
201
return await connection.run_sync(get_current_rev)
202
203
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
218
@migrations.command("status")
219
def status():
220
"""Show database migration status and information."""
0 commit comments