Sha256: 050e643cfe3f429a569108da59c8b2e843585dacec79855499d544fd8525879f
Contents?: true
Size: 456 Bytes
Versions: 19
Compression:
Stored size: 456 Bytes
Contents
class CreateSpreeSubscription < ActiveRecord::Migration def change create_table :spree_subscriptions do |t| t.integer :plan_id t.string :email t.integer :user_id t.string :card_customer_token t.datetime :subscribed_at t.datetime :unsubscribed_at end add_index :spree_subscriptions, :subscribed_at add_index :spree_subscriptions, :unsubscribed_at add_index :spree_subscriptions, :plan_id end end
Version data entries
19 entries across 19 versions & 1 rubygems