-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
SQLInvolves knowledge of Postgres/SQLInvolves knowledge of Postgres/SQLenhancementNew feature or requestNew feature or request
Description
all .script() commands should support an optional parameter that would enforce certain behavior when scripting the object:
opt = ScriptOptions()
opt.alter_instead_of_create = True
cluster.tables['asd'].script(options=opt)Proposed options:
- Alter instead of create
- Create if exists
- include indexes (TBD)
- include permissions
- etc
Metadata
Metadata
Assignees
Labels
SQLInvolves knowledge of Postgres/SQLInvolves knowledge of Postgres/SQLenhancementNew feature or requestNew feature or request