Sha256: 51451d272ea5cbc4aa6527f98303c33997adcec3800db897fea83e28630b3fdc

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 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
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
c3-activerecord-jdbc-adapter-1.1.3.1 test/models/string_id.rb
c3-activerecord-jdbc-adapter-1.1.3 test/models/string_id.rb
activerecord-jdbc-adapter-1.1.3 test/models/string_id.rb
activerecord-jdbc-adapter-1.1.2 test/models/string_id.rb