mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-18 00:52:40 +00:00
This commit is contained in:
parent
bc485160b1
commit
728b43fd5c
|
@ -1067,6 +1067,10 @@ config :bonfire_data_social, Profile,
|
|||
code:
|
||||
(quote do
|
||||
belongs_to(:user, unquote(User), foreign_key: :id, define_field: false)
|
||||
|
||||
belongs_to(:icon, Bonfire.Files.Media)
|
||||
belongs_to(:image, Bonfire.Files.Media)
|
||||
|
||||
# multimixins - shouldn't be here really
|
||||
unquote_splicing(common.([:controlled]))
|
||||
end)
|
||||
|
|
6
justfile
6
justfile
|
@ -757,6 +757,12 @@ rebuild: init
|
|||
@cmd *args='': init
|
||||
{{ if WITH_DOCKER == "total" { "docker compose run --service-ports web $@" } else {"$@"} }}
|
||||
|
||||
cwd *args:
|
||||
cd {{invocation_directory()}}; $@
|
||||
|
||||
cwd-test *args:
|
||||
cd {{invocation_directory()}}; MIX_ENV=test mix test $@
|
||||
|
||||
# Open the shell of the web container, in dev mode
|
||||
shell:
|
||||
just cmd bash
|
||||
|
|
Loading…
Reference in a new issue