mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
13 lines
308 B
Ruby
13 lines
308 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ChangeDigestsDistanceToBigint < ActiveRecord::Migration[8.0]
|
|
disable_ddl_transaction!
|
|
|
|
def up
|
|
change_column :digests, :distance, :bigint, null: false, default: 0
|
|
end
|
|
|
|
def down
|
|
change_column :digests, :distance, :integer, null: false, default: 0
|
|
end
|
|
end
|