Sha256: 46f8cac86c7bd4e8dcbfc6bc6d87ef4c68ed1ab0a5aebbb97c15de79fcb9f4f5
Contents?: true
Size: 369 Bytes
Versions: 15
Compression:
Stored size: 369 Bytes
Contents
class CreateStringIds < ActiveRecord::Migration def self.up create_table "string_ids", :force => true, :id => false do |t| t.string :id end end def self.down drop_table "string_ids" end end class StringId < ActiveRecord::Base def self.table_name () "string_ids" end # Fake out a table without a primary key self.primary_key = "id" end
Version data entries
15 entries across 15 versions & 5 rubygems