Re: [Rails] rake db:create db:schema:load creates tables without id column and migration shows id="false"

10 views
Skip to first unread message

Colin Law

unread,
Mar 27, 2017, 3:33:59 AM3/27/17
to Ruby on Rails: Talk
On 27 March 2017 at 05:02, fugee ohu <fuge...@gmail.com> wrote:
> rake db:create db:schema:load creates tables without id column and migration
> shows id="false" as it runs
> of course, this isn't what i want; how do i run the same command with a
> switch or argument to use id="true" instead and why this default behavior?

No need to ask twice. I have responded in your original post.

Colin
Reply all
Reply to author
Forward
0 new messages