-
Notifications
You must be signed in to change notification settings - Fork 4
Levure Importing an existing schema
Trevor DeVore edited this page Nov 28, 2018
·
2 revisions
- Open your Levure application in the LiveCode IDE.
- In the message box call
dbconn_connect. - In the message box call
sqlyogadev_saveSchemaToYAML;put the result.
You will now find a schema.yml file in your ./app/database folder. It contains a YAML represenation of the database. If any errors occurred they will be reported in the message box due to the addition of ;put the result.
If you modify the database schema in a 3rd party application you will need to update the schema.yml file.
- Open your Levure application in the LiveCode IDE.
- In the message box call
dbconn_connect. - In the message box call
dbsynch_schemaWithDatabase. - In the message box call
sqlyogadev_saveSchemaToYAML;put the result.
The ./app/database/schema.yml file will now be updated to match your database schema.
SQL Yoga USER GUIDE
- Home
- SQL Yoga Objects
- Database Objects
- Connection Objects
- SQL Query Objects
- SQL Record Objects
- Table Objects
- Table Object Behaviors
- Relationships
- Scopes
- Schema
- Working with User Search Strings
- SQL Query Template Objects
- Error Handling
- Migrating from SQL Yoga 1.x
- Integrating with the Levure Application Framework