Sha256: 9fa285e527828add9abb11d36947aeced039b39505b4593a986af5e40bf97e36
Contents?: true
Size: 569 Bytes
Versions: 5
Compression:
Stored size: 569 Bytes
Contents
class SpecMigration < ActiveRecord::Migration def self.up create_table Reader, :primary_key => 'number', :force => true do |t| t.string :name end create_table DifferentReader, :primary_key => 'number', :force => true do |t| t.string :name end create_table Customer, :force => true do |t| t.string :type end create_table Document, :primary_key => 'uid', :force => true do |t| t.string :type t.string :subject t.text :content t.datetime :created_at t.datetime :updated_at end end end
Version data entries
5 entries across 5 versions & 1 rubygems