Autogen Yield liveviews
This commit is contained in:
14
priv/repo/migrations/20230608175223_create_yields.exs
Normal file
14
priv/repo/migrations/20230608175223_create_yields.exs
Normal file
@@ -0,0 +1,14 @@
|
||||
defmodule Osuuspuutarha.Repo.Migrations.CreateYields do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
create table(:yields) do
|
||||
add :date, :date
|
||||
add :plant, :string
|
||||
add :amount, :decimal
|
||||
add :unit, :string
|
||||
|
||||
timestamps()
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user