In both the case of primary keys, and also foreign key references, there's no need to set a default value. This doesn't have a big impact in routine situations, but can be very confusing when debugging corner cases. |
||
---|---|---|
.. | ||
functions | ||
migrate | ||
seeds.rb | ||
structure.sql |