File size: 287 Bytes
3f219b5
745fdb9
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
defmodule Medicode.Repo.Migrations.AddTimestampsToTables do
  use Ecto.Migration

  def change do
    alter table("code_feedbacks") do
      timestamps(default: fragment("now()"))
    end

    alter table("code_vectors") do
      timestamps(default: fragment("now()"))
    end
  end
end