- 
                Notifications
    
You must be signed in to change notification settings  - Fork 65
 
Open
Description
Prescript - a place where we can put custom SQL scripts before the generated SQLS.
Useful for adding CREATE DATABASE or CREATE SCHEMA and DROP TABLE IF EXISTS statements
Postscript - a place where we can put custom SQL scripts after the tables are created.
Useful for adding INSERT statements like inserting default values to the tables etc.
So when the scripts are generated, you can just run all of the scripts and it will restore your database into its initial form.
No need to maintain a drop SQL, a separate INSERT SQL for initial data.
Metadata
Metadata
Assignees
Labels
No labels