Last active
December 26, 2022 23:44
-
-
Save mkhorasani/2eaab72eb2d7002d73a990dc78172714 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
engine = create_engine("postgresql://<username>:<password>@localhost:5432/records_db") | |
engine_dataset = create_engine("postgresql://<username>:<password>@localhost:5432/datasets_db") | |
engine.execute("CREATE TABLE IF NOT EXISTS records (name text PRIMARY KEY, details text[])") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment