Skip to content

Commit

Permalink
add default so exisitng rows can migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
leafo committed Aug 8, 2017
1 parent 2206c93 commit f3ae647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations.moon
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ import
db.query [[create extension if not exists "uuid-ossp"]]

[1500307302]: =>
add_column "followings", "kind", enum
add_column "followings", "kind", enum default: 1

[1500308531]: =>
add_column "users", "stared_count", integer default: 0
Expand Down

0 comments on commit f3ae647

Please sign in to comment.