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 | |