medicode / priv /repo /migrations /20240130154023_add_timestamps_to_tables.exs
noahsettersten's picture
chore: Add timestamps to code_feedbacks and code_vectors tables
745fdb9
raw
history blame
299 Bytes
defmodule MedicalTranscription.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