Merge pull request #1163 from ZhdanovMV/patch-1
Update phoenix-migrations.md
This commit is contained in:
commit
b5cd93a09f
|
@ -44,7 +44,7 @@ create table(:documents) do
|
||||||
add :age, :integer
|
add :age, :integer
|
||||||
add :price, :float
|
add :price, :float
|
||||||
add :price, :float, precision: 10, scale: 2
|
add :price, :float, precision: 10, scale: 2
|
||||||
add :published_at, :datetime
|
add :published_at, :utc_datetime
|
||||||
add :group_id, references(:groups)
|
add :group_id, references(:groups)
|
||||||
add :object, :json
|
add :object, :json
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue