Use Rails' name for inserted_at column for all models
This commit is contained in:
parent
8c68876d7d
commit
acdbf453d5
@ -19,6 +19,7 @@ defmodule Asciinema.Web do
|
||||
def model do
|
||||
quote do
|
||||
use Ecto.Schema
|
||||
@timestamps_opts inserted_at: :created_at
|
||||
|
||||
import Ecto
|
||||
import Ecto.Changeset
|
||||
|
Loading…
Reference in New Issue
Block a user