category: Elixir
layout: 2017/sheet
weight: -1
-updated: 2017-09-04
+updated: 2020-02-23
---
### Creating
add :body, :text
add :age, :integer
add :price, :float
- add :price, :float, precision: 10, scale: 2
+ add :price, :float
+ add :price, :decimal, precision: 10, scale: 2
add :published_at, :utc_datetime
add :group_id, references(:groups)
add :object, :json