Add migration and schema for accounts
Add account name availability endpoint
This commit is contained in:
parent
e6e4472b94
commit
6e039524a4
10 changed files with 107 additions and 43 deletions
|
@ -26,6 +26,8 @@ config :logger, :console,
|
|||
# Use Jason for JSON parsing in Phoenix
|
||||
config :phoenix, :json_library, Jason
|
||||
|
||||
config :matrix_server, MatrixServer.Repo, migration_timestamps: [type: :utc_datetime]
|
||||
|
||||
# Import environment specific config. This must remain at the bottom
|
||||
# of this file so it overrides the configuration defined above.
|
||||
import_config "#{Mix.env()}.exs"
|
||||
|
|
|
@ -2,8 +2,8 @@ use Mix.Config
|
|||
|
||||
# Configure your database
|
||||
config :matrix_server, MatrixServer.Repo,
|
||||
username: "postgres",
|
||||
password: "postgres",
|
||||
username: "matrix_server",
|
||||
password: "matrix_server",
|
||||
database: "matrix_server_dev",
|
||||
hostname: "localhost",
|
||||
show_sensitive_data_on_connection_error: true,
|
||||
|
@ -55,3 +55,5 @@ config :phoenix, :stacktrace_depth, 20
|
|||
|
||||
# Initialize plugs at runtime for faster development compilation
|
||||
config :phoenix, :plug_init_mode, :runtime
|
||||
|
||||
config :matrix_server, :server_name, "localhost"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue