Sha256: 4f59e879c93899767289cc663f6855c06ade71c27d68b711dbc277bd41fd7db3
Contents?: true
Size: 512 Bytes
Versions: 20
Compression:
Stored size: 512 Bytes
Contents
# frozen_string_literal: true class AddPayBillableTo<%= table_name.camelize %> < ActiveRecord::Migration<%= migration_version %> def change change_table :<%= table_name %>, bulk: true do |t| t.string :processor t.string :processor_id t.public_send(Pay::Adapter.json_column_type, :pay_data) t.datetime :trial_ends_at t.string :card_type t.string :card_last4 t.string :card_exp_month t.string :card_exp_year t.text :extra_billing_info end end end
Version data entries
20 entries across 20 versions & 1 rubygems