collectiveidea/awesome_nested_set — pull request #285 by DrewBe121212 (2014-11-08 20:03:25+00:00)
Title: Updated database create documentation to reflect what awesome_nested_set...

Awesome Gem! I hope I can contribute more to this as I become more familiar with it!

In the name of having a proper database architecture, the database creation of columns should include default values, and not null if applicable.

I bring this up because I was moving from a previous setup with a standard parent_id > id relationship to awesome_nested_set. Although instead of parent_id being nil, it was set to '0' to denote a root node.

Granted, in hind sight, looking at the documentation, the lack of any column defaults should have given this away to me but alas, here I am a few hours later. :)