After 'mix phx.gen.auth Accounts User users'.
This commit is contained in:
@ -7,6 +7,19 @@
|
||||
# General application configuration
|
||||
import Config
|
||||
|
||||
config :generic_rest_server, :scopes,
|
||||
user: [
|
||||
default: true,
|
||||
module: GenericRestServer.Accounts.Scope,
|
||||
assign_key: :current_scope,
|
||||
access_path: [:user, :id],
|
||||
schema_key: :user_id,
|
||||
schema_type: :binary_id,
|
||||
schema_table: :users,
|
||||
test_data_fixture: GenericRestServer.AccountsFixtures,
|
||||
test_setup_helper: :register_and_log_in_user
|
||||
]
|
||||
|
||||
config :generic_rest_server,
|
||||
ecto_repos: [GenericRestServer.Repo],
|
||||
generators: [timestamp_type: :utc_datetime, binary_id: true]
|
||||
|
||||
Reference in New Issue
Block a user