Skip to content

Commit

Permalink
apply update to versioned_docs aswell
Browse files Browse the repository at this point in the history
  • Loading branch information
BenAuerDev committed Mar 27, 2024
1 parent 6433f56 commit 8095490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion versioned_docs/version-1.2.0/05-concepts/02-models.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Working with models

Models are the YAML files used to define serializable classes in Serverpod. They are used to generate Dart code for the server and client, and, if a database table is defined, to generate database code for the server. The yaml-files are located in the `lib/src/models` directory in your server project.
Models are Yaml files used to define serializable classes in Serverpod. They are used to generate Dart code for the server and client, and, if a database table is defined, to generate database code for the server. Using regular `.yaml` files within `lib/src/models` is supported, but it is recommended to use `.spy.yaml` (.spy stands for "Server Pod Yaml") to leverage syntax highlighting provided by the [Serverpod Extension](https://marketplace.visualstudio.com/items?itemName=serverpod.serverpod) for VS Code.

The files are analyzed by the Serverpod CLI when generating the project and creating migrations.

Expand Down

0 comments on commit 8095490

Please sign in to comment.