Naming things in an Ecto project

Let's do a quick revision of the various names used in the project to make them more standard.

  1. Make the database table names plural
  2. ... but make schema and module names singular
  3. Put "create" in the name of a migration that creates an entire new table and put "add" in the name of a migration that adds columns to an existing table.

Note: VS Code's Elixir LS caused the stream for this video to drop some frames after renaming files

Back to index

No Comments