Sha256: 8deb86ec6e3a28b2915c2b9da82cfffb1f9a74c181ff3657890345647d07cc8f
Contents?: true
Size: 399 Bytes
Versions: 36
Compression:
Stored size: 399 Bytes
Contents
class AddWorksToUserStats < ActiveRecord::Migration[5.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
36 entries across 25 versions & 1 rubygems