Any attributes that you're requiring the presence of should also have a null constraint in the database.

``` ruby
t.integer :movie_id, null: false
```