diff --git a/phoenix-migrations.md b/phoenix-migrations.md index 3b4d5394..21e32708 100644 --- a/phoenix-migrations.md +++ b/phoenix-migrations.md @@ -49,7 +49,8 @@ create table(:documents) do 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