DEV: Review fixes (#10641)

See comments in https://review.discourse.org/t/dev-imap-log-to-database-10435/14337/6 for context.
This commit is contained in:
Martin Brennan
2020-09-10 13:41:46 +10:00
committed by GitHub
parent e6ca1b4326
commit 7f2f87bf59
4 changed files with 25 additions and 19 deletions

View File

@@ -0,0 +1,8 @@
# frozen_string_literal: true
class MakeImapSyncLogColsNotNull < ActiveRecord::Migration[6.0]
def change
change_column_null :imap_sync_logs, :message, false
change_column_null :imap_sync_logs, :level, false
end
end