Sha256: 63fb008ed25dabf992317b4003cae58ce934e4ca16571c1151b2501f85e26c4f

Contents?: true

Size: 266 Bytes

Versions: 55

Compression:

Stored size: 266 Bytes

Contents

class CreateLogEntries < ActiveRecord::Migration
  def self.up
    create_table :log_entries do |t|
      t.integer :source_id
      t.string :source_type
      t.text :details

      t.timestamps
    end
  end

  def self.down
    drop_table :log_entries
  end
end

Version data entries

55 entries across 43 versions & 9 rubygems

Version Path
spree_core-0.70.7 db/migrate/20101026184700_create_log_entries.rb
spree_core-0.70.6 db/migrate/20101026184700_create_log_entries.rb
apispree_core-0.0.0 db/migrate/20101026184700_create_log_entries.rb
My-Commerce_core-1.1.0 db/migrate/20101026184700_create_log_entries.rb
My-Commerce_core-1.0.0 db/migrate/20101026184700_create_log_entries.rb
MyCommerceapi-1.0.0 api/spec/test_app/db/migrate/20101026184700_create_log_entries.rb
MyCommerceapi-1.0.0 dash/spec/test_app/db/migrate/20101026184700_create_log_entries.rb
MyCommerceapi-1.0.0 promo/spec/test_app/db/migrate/20101026184700_create_log_entries.rb
MyCommerceapi-1.0.0 core/spec/test_app/db/migrate/20101026184700_create_log_entries.rb
MyCommerceapi-1.0.0 auth/spec/test_app/db/migrate/20101026184700_create_log_entries.rb
MyCommerceapi-1.0.0 core/db/migrate/20101026184700_create_log_entries.rb
MyCommerceapi-1.0.0 sandbox/db/migrate/20101026184700_create_log_entries.rb
MyCommerce-0.0.3 promo/spec/test_app/db/migrate/20101026184700_create_log_entries.rb
MyCommerce-0.0.3 core/spec/test_app/db/migrate/20101026184700_create_log_entries.rb
MyCommerce-0.0.3 auth/spec/test_app/db/migrate/20101026184700_create_log_entries.rb
MyCommerce-0.0.3 dash/spec/test_app/db/migrate/20101026184700_create_log_entries.rb
MyCommerce-0.0.3 core/db/migrate/20101026184700_create_log_entries.rb
MyCommerce-0.0.3 api/spec/test_app/db/migrate/20101026184700_create_log_entries.rb
MyCommerce-0.0.3 sandbox/db/migrate/20101026184700_create_log_entries.rb
rfcommerce_sandbox-0.0.3 db/migrate/20101026184700_create_log_entries.rb