Sha256: 0c63a25fcc8d6ef41c9f67271808ff2a6cd51459dca3c42911a022163e70f2c2
Contents?: true
Size: 399 Bytes
Versions: 15
Compression:
Stored size: 399 Bytes
Contents
class AddWorksToUserStats < ActiveRecord::Migration[4.2] def self.up add_column :user_stats, :work_views, :integer add_column :work_view_stats, :user_id, :integer add_index :work_view_stats, :user_id end def self.down remove_column :user_stats, :work_views, :integer remove_column :work_view_stats, :user_id, :integer remove_index :work_view_stats, :user_id end end
Version data entries
15 entries across 15 versions & 1 rubygems