4deafc5b1e
Run Docker integration tests / test (push) Waiting to run
🌿 Publish Docs / run (push) Waiting to run
🌿 Preview Python SDK / changed-files (push) Waiting to run
🌿 Preview Python SDK / preview-python-sdk (push) Blocked by required conditions
🌿 Preview TypeScript SDK / changed-files (push) Waiting to run
🌿 Preview TypeScript SDK / preview-typescript-sdk (push) Blocked by required conditions
Sync Code / notify (push) Waiting to run
Notify Submodule Repos / notify (push) Waiting to run
Test Package Installation / test-install (3.13) (push) Waiting to run
Test Package Installation / test-install (3.12) (push) Waiting to run
Test Package Installation / test-install (3.11) (push) Waiting to run
20 lines
348 B
Python
20 lines
348 B
Python
import os
|
|
|
|
from sqlalchemy import MetaData, create_engine
|
|
|
|
|
|
def main():
|
|
uri = os.environ.get(
|
|
"MEMGPT_PGURI",
|
|
"postgresql+pg8000://letta:letta@localhost:8888/letta",
|
|
)
|
|
|
|
engine = create_engine(uri)
|
|
meta = MetaData()
|
|
meta.reflect(bind=engine)
|
|
meta.drop_all(bind=engine)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|