feat(server): phoenix 1.7 scaffold with sqlite + liveview
This commit is contained in:
parent
fab512f1e1
commit
b85d05afc8
41 changed files with 2279 additions and 0 deletions
4
server/priv/repo/migrations/.formatter.exs
Normal file
4
server/priv/repo/migrations/.formatter.exs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[
|
||||
import_deps: [:ecto_sql],
|
||||
inputs: ["*.exs"]
|
||||
]
|
||||
11
server/priv/repo/seeds.exs
Normal file
11
server/priv/repo/seeds.exs
Normal 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:
|
||||
#
|
||||
# Server.Repo.insert!(%Server.SomeSchema{})
|
||||
#
|
||||
# We recommend using the bang functions (`insert!`, `update!`
|
||||
# and so on) as they will fail if something goes wrong.
|
||||
Loading…
Add table
Add a link
Reference in a new issue