Sha256: ba76c5bff9604e1803fb6565889aea2cc385194966d414b9829561dc4e29b726

Contents?: true

Size: 222 Bytes

Versions: 7

Compression:

Stored size: 222 Bytes

Contents

class CreateActivities < ActiveRecord::Migration
  def change
    create_table :activities do |t|
      t.integer :quantity, :default => 0, :null => false
      t.datetime :finished_at
      t.timestamps
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
rabbitmq-definition-0.1.3 spec/dummy/db/migrate/20131203172849_create_activities.rb
rabbitmq-definition-0.1.2 spec/dummy/db/migrate/20131203172849_create_activities.rb
rabbitmq-definition-0.1.1 spec/dummy/db/migrate/20131203172849_create_activities.rb
rabbitmq-definition-0.1.0 spec/dummy/db/migrate/20131203172849_create_activities.rb
periodic_calculations-0.0.3 spec/dummy/db/migrate/20131203172849_create_activities.rb
periodic_calculations-0.0.2 spec/dummy/db/migrate/20131203172849_create_activities.rb
periodic_calculations-0.0.1 spec/dummy/db/migrate/20131203172849_create_activities.rb