Sha256: 84e30acd92ad36fec453b979ea3d18cfcab9092f0177b283f7b8d729e72f6d74
Contents?: true
Size: 480 Bytes
Versions: 412
Compression:
Stored size: 480 Bytes
Contents
class CreateSubscriptions < ActiveRecord::Migration def change create_table :subscriptions do |t| t.text :title, :null => false t.text :note #t.integer :subscription_list_id, :integer t.integer :user_id t.integer :order_list_id t.datetime :deleted_at t.integer :subscribes_count, :default => 0, :null => false t.timestamps end add_index :subscriptions, :user_id add_index :subscriptions, :order_list_id end end
Version data entries
412 entries across 409 versions & 24 rubygems