mix phx.new --database sqlite3 --adapter bandit --binary-id simpleshop

This commit is contained in:
James Greenwood
2025-11-30 09:28:39 +00:00
commit dab1ffc91f
48 changed files with 4259 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:
#
# Simpleshop.Repo.insert!(%Simpleshop.SomeSchema{})
#
# We recommend using the bang functions (`insert!`, `update!`
# and so on) as they will fail if something goes wrong.