Sha256: 832a4ed5dd3f533692ab52a9b31e1b1bb34b70bea4d52ac67712f6ba5a51682a
Contents?: true
Size: 1.5 KB
Versions: 4
Compression:
Stored size: 1.5 KB
Contents
Sequel.migration do up do create_table :in_app_purchase_products do primary_key :id column :product_identifier, :varchar, null: false column :type, :varchar, null: false column :title, :varchar, null: false column :description, :varchar column :price, :float8 column :price_locale, :varchar column :is_enabled, :boolean, default: true index :product_identifier index :type end create_table :in_app_purchase_receipts do primary_key :id column :quantity, :int4 column :product_id, :varchar, null: false column :transaction_id, :varchar, null: false column :purchase_date, :timestamp, null: false column :original_transaction_id, :varchar column :original_purchase_date, :timestamp column :app_item_id, :varchar column :version_external_identifier, :varchar column :bid, :varchar column :bvrs, :varchar column :ip_address, :inet column :created_at, :timestamp index :product_id index :transaction_id index :app_item_id end end down do drop_table :in_app_purchase_products drop_table :in_app_purchase_receipts end end
Version data entries
4 entries across 4 versions & 1 rubygems