Creating Models › Creating a Physical Model › Tables › Table Editor › Define MySQL Table Properties
Define MySQL Table Properties
Use the MySQL Table Editor to define table properties. This procedure assumes you are working in a physical model, with MySQL defined as the target server.
To define properties for a MySQL table
- Click Tables on the Model menu.
The MySQL Table Editor opens.
- Select the table in the Navigation Grid that you want to define and work with the following options:
Note: Click New on the toolbar to create a new table. Use the Enter filter text box to filter a very large list of tables to quickly locate the one that you want to define.
- Physical Name
-
Specifies the physical name of the table. Change the physical name of the table in this field.
- DB Owner
-
Specifies the owner of the database to which the table belongs. Change the owner name of the table in this field.
- Physical Only
-
Specifies whether the table is suppressed from a logical model and appears in a physical model only.
- Generate
-
Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.
- Click the Volumetrics tab and work with the following options:
- Initial Row Count
-
Defines row count for the table. Enter a value in the field.
- Max Rows
-
Defines row sizing for the table. Enter a value in the field.
- Growth By Month
-
Defines growth increments for the table. Enter a value in the field.
- Work with the other tabs in the editor to access additional design features, for example:
- Specify validation rules in the Validation tab.
- Preview the forward engineering script for a table in the SQL tab.
- Work with style sheets to format the font used in the display of the table in the Style tab.
- Specify the icon to use for the entity in the Icon Tab.
- Specify the order of DDL generation in the Object Creation Order tab.
- (Optional) Click the Comment tab and enter any comments that you want to associate with the object.
- (Optional) Click the Where Used tab to view where the object is used within the model.
- (Optional) Click the UDP tab to work with user-defined properties for the object.
- (Optional) Click the History tab to view the history information for the object.
- (Optional) Click the Notes tab to view and edit user notes.
- (Optional) Click the Extended Notes tab to view or edit user notes.
- Click Close.
The table is defined and the MySQL Table Editor closes.
Copyright © 2017 erwin Inc.
All rights reserved.
|
|