relax timestamp not null constraints on txoutputs
ADD
apps/omg_watcher/priv/repo/migrations/20190914101612_relax_timestamp_not_null_constraints_on_txoutputs_table.exs
+defmodule OMG.Watcher.DB.Repo.Migrations.RelaxTimestampNotNullConstraintsOnTxoutputsTable do
+ use Ecto.Migration
+
+ def change do
+ alter table(:txoutputs) do
+ modify :inserted_at, :utc_datetime, default: fragment("now() at time zone 'utc'"), null: true
+ modify :updated_at, :utc_datetime, default: fragment("now() at time zone 'utc'"), null: true
+ end
+ end
+end

relax timestamp not null constraints on txoutputs