Sha256: e3b4f3b26c91b0e7e7b576c7da3eab5236b8475189099430fbd796512db1b2ce
Contents?: true
Size: 332 Bytes
Versions: 14
Compression:
Stored size: 332 Bytes
Contents
class CreateBookWithCustomPrimaryKeys < ActiveRecord::Migration def self.up create_table :book_with_custom_primary_keys, :primary_key => :uid do |t| t.integer :uid t.string :title t.integer :author_id t.timestamps end end def self.down drop_table :book_with_custom_primary_keys end end
Version data entries
14 entries across 14 versions & 2 rubygems