~ihabunek/triglav

ref: 3a62b8feb3be418cf9f3fb176ac6c84a36e66a2f triglav/priv/repo/migrations/20210311085351_alter_error_add_platform.exs -rw-r--r-- 267 bytes
3a62b8feIvan Habunek Validate tags on platforms 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
defmodule Triglav.Repo.Migrations.AlterErrorAddPlatform do
  use Ecto.Migration

  def up do
    alter table("errors") do
      add :platform_id, :integer
    end
  end

  def down do
    alter table("errors") do
      remove :platform_id, :integer
    end
  end
end