I think this is already the default in Rails 5. Isn't?

On Tue, Jul 5, 2016 at 3:52 PM Andrey Molchanov <neod...@gmail.com> wrote:

> Hi there!
> If we create migrate with
>
> t.timestamps
>
> it will add lines
>
> t.datetime "created_at"
>
> t.datetime "updated_at"
>
> In schema.rb file.
> What are you think about if *by default* in this case null option will be
> false without explicitly specifying?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at https://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to