summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20221229225556_add_node.exs
blob: 11731d95bbda46de2cf3cea2ee4006b0c871c6ab (plain)
1
2
3
4
5
6
7
8
9
10
defmodule Chessh.Repo.Migrations.AddNode do
  use Ecto.Migration

  def change do
    create table(:nodes, primary_key: false) do
      add(:id, :string, primary_key: true)
      add(:last_start, :utc_datetime_usec)
    end
  end
end