Sha256: 88d76ddd3693b6ef481470d3813c31f5b4fe29250b936fefec6790a60e6bc5cb

Contents?: true

Size: 424 Bytes

Versions: 10

Compression:

Stored size: 424 Bytes

Contents

require 'rubygems'
require 'active_record'

class CreateEntries < ActiveRecord::Migration
  def self.up
    create_table "entries", :force => true do |t|
      t.column :title, :string, :limit => 100
      t.column :updated_on, :datetime
      t.column :content, :text
      t.column :rating, :decimal, :precision => 10
    end
  end

  def self.down
    drop_table "entries"
  end
end

class Entry < ActiveRecord::Base
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
ActiveRecord-JDBC-0.2.4 test/models/entry.rb
ActiveRecord-JDBC-0.3 test/models/entry.rb
ActiveRecord-JDBC-0.3.1 test/models/entry.rb
ActiveRecord-JDBC-0.4 test/models/entry.rb
ActiveRecord-JDBC-0.5 test/models/entry.rb
activerecord-jdbc-adapter-0.7 test/models/entry.rb
activerecord-jdbc-adapter-0.8 test/models/entry.rb
activerecord-jdbc-adapter-0.6 test/models/entry.rb
activerecord-jdbc-adapter-0.7.1 test/models/entry.rb
activerecord-jdbc-adapter-0.7.2 test/models/entry.rb