api specs
This commit is contained in:
11
phoenix/lib/shooting_event_phx/domain/app_setting.ex
Normal file
11
phoenix/lib/shooting_event_phx/domain/app_setting.ex
Normal file
@@ -0,0 +1,11 @@
|
||||
defmodule ShootingEventPhx.Domain.AppSetting do
|
||||
use Ecto.Schema
|
||||
|
||||
@primary_key {:key, :string, []}
|
||||
@timestamps_opts [inserted_at: false, updated_at: :updated_at, type: :utc_datetime]
|
||||
schema "app_settings" do
|
||||
field :value, :string, default: ""
|
||||
|
||||
timestamps()
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user