Sha256: 64c526eb427395d7014fcd135ef37625e03400fe1935c7d9a46ee17b21107fc8

Contents?: true

Size: 276 Bytes

Versions: 2

Compression:

Stored size: 276 Bytes

Contents

class CreatePlans < ActiveRecord::Migration
  def change
    create_table :plans do |t|
      t.decimal :monthly_price, precision: 24, scale: 6
      t.decimal :annually_price, precision: 24, scale: 6
      t.string :currency

      t.timestamps null: false
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
economy-4.0.2.2 test/dummy/db/migrate/20161115150024_create_plans.rb
economy-4.0.2.1 test/dummy/db/migrate/20161115150024_create_plans.rb