Skip to content

Commit

Permalink
Fixing docs for change_default. Fixes #1053 (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoertink authored Aug 31, 2024
1 parent c6a87fc commit 84ffc29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/avram/migrator/alter_table_statement.cr
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Avram::Migrator::AlterTableStatement
# Change the columns' default value to `default`
# ```
# alter table_for(Post) do
# change_default published_at, default: :now
# change_default published_at : Time, default: :now
# end
# ```
macro change_default(type_declaration, default)
Expand Down

0 comments on commit 84ffc29

Please sign in to comment.