Column#primary method removed from Rails

Refer https://github.com/rails/rails/commit/05dd3df35db8b2d39ed177f4ccfe112bdfe7726d