Version 9b #1
+2
-2
@@ -119,8 +119,8 @@ if __name__ == "__main__":
|
||||
print(" Starting automatic migration...")
|
||||
# Import and run migration
|
||||
try:
|
||||
import migrate_to_postgres
|
||||
print("✓ Migration completed")
|
||||
from migrate_to_postgres import main as migrate
|
||||
migrate()
|
||||
except Exception as e:
|
||||
print(f"✗ Migration failed: {e}")
|
||||
sys.exit(1)
|
||||
|
||||
Reference in new issue
Block a user