Sha256: a99740fd0932500fed9b86035278c3fe11f22d00d91a3587d708cdb5aa1ec177

Contents?: true

Size: 321 Bytes

Versions: 2

Compression:

Stored size: 321 Bytes

Contents

class CreateTestFiles < ActiveRecord::Migration
  def self.up
    create_table 'test_files' do |t|
      t.string 'name', :null => false
      t.binary 'data'
      t.timestamps
    end
  end

  def self.down
    drop_table 'test_files'
  end
end

class TestFile < ActiveRecord::Base
  self.table_name = 'test_files'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activerecord-jdbcteradata-adapter-0.5.1 spec/models/model_with_blob.rb
activerecord-jdbcteradata-adapter-0.5.0 spec/models/model_with_blob.rb