-
- Downloads
Set todos#author_id to NOT NULL.
Showing
- app/models/todo.rb 1 addition, 0 deletionsapp/models/todo.rb
- changelogs/unreleased/32282-add-foreign-keys-to-todos.yml 1 addition, 1 deletionchangelogs/unreleased/32282-add-foreign-keys-to-todos.yml
- db/post_migrate/20180204200836_change_author_id_to_not_null_in_todos.rb 26 additions, 0 deletions...e/20180204200836_change_author_id_to_not_null_in_todos.rb
- db/schema.rb 2 additions, 2 deletionsdb/schema.rb
- spec/models/todo_spec.rb 1 addition, 0 deletionsspec/models/todo_spec.rb
Please register or sign in to comment