After 'mix phx.new generic_rest_server --binary-id --no-install'

This commit is contained in:
2026-04-21 10:25:23 +02:00
parent 6cfd57c3d6
commit 7f840bbf0d
48 changed files with 4074 additions and 0 deletions

View File

@ -0,0 +1,4 @@
[
import_deps: [:ecto_sql],
inputs: ["*.exs"]
]

11
priv/repo/seeds.exs Normal file
View File

@ -0,0 +1,11 @@
# Script for populating the database. You can run it as:
#
# mix run priv/repo/seeds.exs
#
# Inside the script, you can read and write to any of your
# repositories directly:
#
# GenericRestServer.Repo.insert!(%GenericRestServer.SomeSchema{})
#
# We recommend using the bang functions (`insert!`, `update!`
# and so on) as they will fail if something goes wrong.