Skip to content

Commit

Permalink
Merge pull request #1 from addrummond/add-docs-for-schema-and-version…
Browse files Browse the repository at this point in the history
…-options
  • Loading branch information
hoyon authored Dec 6, 2021
2 parents a540e7b + 7ae3886 commit 0bda7fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions lib/familiar.ex
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ defmodule Familiar do
The `:revert` option is optional however if it is omitted the migration will not be reversible.
The new version number can be specified explicitly if desired:
$ mix familiar.gen.view my_view --version 3
### Non default schema
Definition to be created in the non default schema can be placed in
Expand All @@ -64,6 +68,7 @@ defmodule Familiar do
view in the `bi` schema.
The `:schema` option then needs to be added to each function call.
The `--schema` option can be also be passed to `familiar.gen.view`.
"""

defmacro __using__(_opts) do
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Familiar.MixProject do
use Mix.Project

@scm_url "https://github.com/Multiverse-io/familiar"
@version "0.1.2"
@version "0.1.3"

def project do
[
Expand Down

0 comments on commit 0bda7fa

Please sign in to comment.