Mail box and OCR done

This commit is contained in:
2026-01-22 20:56:35 +05:30
parent 2148c4a61c
commit d662aea7e4
16 changed files with 644 additions and 14 deletions

12
backend/create_tables.py Normal file
View File

@@ -0,0 +1,12 @@
from database import engine, Base
def create_tables():
print("Creating tables in database...")
try:
Base.metadata.create_all(bind=engine)
print("Tables created successfully!")
except Exception as e:
print(f"Error creating tables: {e}")
if __name__ == "__main__":
create_tables()