A small useful script that will generate an SQL script in the current working directory to setup the database
Last active
March 31, 2022 14:46
-
-
Save rodion-solovev-7/117164a4f33686f2f97e7fe55ee9fc6b to your computer and use it in GitHub Desktop.
Generate SQL for DB creation (SQLAlchemy)
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
CREATE TABLE my_table ( | |
id SERIAL NOT NULL, | |
my_data VARCHAR, | |
PRIMARY KEY (id) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment