Sha256: 17bd4877e5399d432a4b5e2deb7de27f05e0b1da08573ef71cc5332f477502ad

Contents?: true

Size: 725 Bytes

Versions: 8

Compression:

Stored size: 725 Bytes

Contents

class CreateAwsImportTable < ActiveRecord::Migration
  def change
    create_table :aws_billing_imports, id: false do |t|
      t.string :invoice_id
      t.string :payer_account_id
      t.string :linked_account_id
      t.string :record_type
      t.string :record_id
      t.string :product_name
      t.string :rate_id
      t.string :subscription_id
      t.string :pricing_plan_id
      t.string :usage_type
      t.string :operation
      t.string :availability_zone
      t.string :reserved_instance
      t.string :item_description
      t.datetime :usage_start_date
      t.datetime :usage_end_date
      t.float :usage_quantity
      t.float :rate
      t.float :cost
      t.string :resource_id
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
crop-duster-0.0.14 db/migrate/20140113204901_create_aws_import_table.rb
crop-duster-0.0.13 db/migrate/20140113204901_create_aws_import_table.rb
crop-duster-0.0.12 db/migrate/20140113204901_create_aws_import_table.rb
crop-duster-0.0.11 db/migrate/20140113204901_create_aws_import_table.rb
crop-duster-0.0.10 db/migrate/20140113204901_create_aws_import_table.rb
crop-duster-0.0.9 db/migrate/20140113204901_create_aws_import_table.rb
crop-duster-0.0.8 db/migrate/20140113204901_create_aws_import_table.rb
crop-duster-0.0.7 db/migrate/20140113204901_create_aws_import_table.rb