Comment on page
ScaffoldHub offers an online modeling tool so you can model the entities, fields, relationships, and validations of your application.
The new option will clear the current project and start a new one.
The save option will download a JSON file on your machine with the project configuration.
The load option will allow you to select a previously downloaded JSON file and load it to the modeling tool.
The sample option loads a sample application project on the modeling tool.
The version select box allows you to change the scaffold version.
Defines the default language for the application.
Each entity will have its own menu, permissions, form, listing, import, and export.
The label used for the menu and pages to refer to this entity.
On the pages that the entity is referred to in the plural format - like on the listing page - this label will be used.
The field that will be used as the label on the autocomplete related to this entity.
Audit Fields on List?
Flag that indicates if the listing page will include Created By, Created At, Updated By and Updated At fields.
Fields are the attributes of each entity.
The label used to refer to this field on the pages.
The type of this field. Each type will be described in detail later.
Those properties are common across all the field types.
The placeholder that will be displayed on the form for this field.
The hint that will be displed on the form for this field.
Displays the field on the listing page.
Creates a filter for this field on the listing page.
Exports this field on the Export to CSV process.
Date without time. Is displayed in the format YYYY-MM-DD and saved as a string on the database.
Date and time. Is displayed in the format YYYY-MM-DD HH:mm and saved as date and time at the database.
True or false.
An enumerator is a field that must be set based on a list of options.
An enumerator (multiple) allows you to select several items from a list of options.
Creates a File Upload field on the form, and a file list on the show pages.
Creates an Image File Upload field on the form, and an image gallery on the show pages.
Creates a JSON field in the database and a text area on the form to add it.
Relationships are relations between entities.
Many-to-many relates many records to many others. Example: Categories (Many) <-> Posts (Many).
In a many to many relationship, both sides will have the same configuration.
Relates many records to one. Example: Posts (Many) <-> Author (One).
The Side A is the side that relates to one. In the example, it would be the Posts.
The Side B is the side that relates to many. In the example, it would be the Author.
Relates one record to another. Example: Profile (One - has Foreign Key) <-> User (one).
The Side A is the side that relates to one record and contains the foreign key. It's marked as unique, to prevent Side B from having multiple of it.
The Side B relates to one record.
Notes: The Side B is the only side that can contain a Membership. Memberships are not editable by the modeling tool, so they just related to a Side A and are not editable.