Sample for phoenix(elixir)-postgres

Signed-off-by: Manolis Kousanakis <ekousanakis@gmail.com>
This commit is contained in:
manolis kousanakis
2020-05-06 21:30:04 +03:00
parent 3599a2e685
commit f156dfb52c
57 changed files with 8997 additions and 0 deletions

View File

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

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:
#
# App.Repo.insert!(%App.SomeSchema{})
#
# We recommend using the bang functions (`insert!`, `update!`
# and so on) as they will fail if something goes wrong.