mix familiar.gen.view (familiar v0.1.4) View Source

Creates a new view definition file.

If no view with that name currently exists, an empty file version 1 of the view will be created.

If one does exist, a new file will be created with an incremented version number and a copy of the contents of the previous latest version.

Examples

mix familiar.gen.view my_view
mix familiar.gen.view my_view --version 1

Command line options

  • --version - the version to create
  • --schema - the schema to create the view in