mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
* Add yearly digest * Rename YearlyDigests to Users::Digests * Minor changes * Update yearly digest layout and styles * Add flags and chart to email * Update colors * Fix layout of stats in yearly digest view * Remove cron job for yearly digest scheduling * Update CHANGELOG.md * Update digest email setting handling * Allow sharing digest for 1 week or 1 month * Change Digests Distance to Bigint * Fix settings page
13 lines
346 B
Ruby
13 lines
346 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ChangeDigestsDistanceToBigint < ActiveRecord::Migration[8.0]
|
|
disable_ddl_transaction!
|
|
|
|
def up
|
|
safety_assured { change_column :digests, :distance, :bigint, null: false, default: 0 }
|
|
end
|
|
|
|
def down
|
|
safety_assured { change_column :digests, :distance, :integer, null: false, default: 0 }
|
|
end
|
|
end
|