Added Ecto, Cassandra and Auctions repo

This commit is contained in:
2026-07-15 22:21:33 +03:00
parent 94d601a458
commit 06e86abf33
11 changed files with 83 additions and 49 deletions
+5
View File
@@ -0,0 +1,5 @@
import Config
config :neon_vertigo_service, ecto_repos: [NeonVertigoService.Repo]
import_config "#{Mix.env()}.exs"
+12
View File
@@ -0,0 +1,12 @@
import Config
config :neon_vertigo_service, NeonVertigoService.Repo, [
migration_primary_key: [name: :id, type: :uuid], # Overrides the default type `bigserial` used for version attribute in schema migration
nodes: ["127.0.0.1"], # List of database connection endpoints
keyspace: "nvservice", # Name of your keyspace
sync_connect: 5000, # Waiting time in milliseconds for the database connection
log: :info,
stacktrace: true,
show_sensitive_data_on_connection_error: true,
pool_size: 10
]