farmbot_os/farmbot_core/priv/asset/migrations/20181019180911_create_farmw...

15 lines
438 B
Elixir

defmodule Elixir.Farmbot.Asset.Repo.Migrations.CreateFarmwareInstallationsTable do
use Ecto.Migration
def change do
create table("farmware_installations", primary_key: false) do
add(:local_id, :binary_id, primary_key: true)
add(:id, :id)
add(:url, :string)
add(:manifest, :map)
add(:monitor, :boolean, default: true)
timestamps(inserted_at: :created_at, type: :utc_datetime)
end
end
end