Sha256: cbfa6028c9829a0dc1e7e190d7287159626e8ce61228d929c34546b09a77eaba
Contents?: true
Size: 369 Bytes
Versions: 157
Compression:
Stored size: 369 Bytes
Contents
class CreateSubscriptions < ActiveRecord::Migration[4.2] def change create_table :subscriptions do |t| t.text :title, null: false t.text :note t.references :user, index: true t.references :order_list, index: true t.datetime :deleted_at t.integer :subscribes_count, default: 0, null: false t.timestamps end end end
Version data entries
157 entries across 157 versions & 21 rubygems