Sha256: fa87cc8ca81b0eb509d1478e91e5a0355d2617335dd9b92fd48b3368664b0689
Contents?: true
Size: 395 Bytes
Versions: 3
Compression:
Stored size: 395 Bytes
Contents
class AddRejiToUsers < ActiveRecord::Migration<%= migration_version %> def self.up change_table :users do |t| t.string :stripe_id t.string :card_brand t.string :card_last_four, limit: 4 t.timestamp :trial_ends_at end end def self.down change_table :users do |t| t.remove :stripe_id, :card_brand, :card_last_four, :trial_ends_at end end end
Version data entries
3 entries across 3 versions & 1 rubygems