about summary refs log tree commit diff
path: root/app/models/account_warning_preset.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/account_warning_preset.rb')
-rw-r--r--app/models/account_warning_preset.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/models/account_warning_preset.rb b/app/models/account_warning_preset.rb
new file mode 100644
index 000000000..ba8ceabb3
--- /dev/null
+++ b/app/models/account_warning_preset.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+# == Schema Information
+#
+# Table name: account_warning_presets
+#
+#  id         :bigint(8)        not null, primary key
+#  text       :text             default(""), not null
+#  created_at :datetime         not null
+#  updated_at :datetime         not null
+#
+
+class AccountWarningPreset < ApplicationRecord
+  validates :text, presence: true
+end