2018-05-31 20:49:06 +02:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: notifications
|
|
|
|
#
|
|
|
|
# id :bigint(8) not null, primary key
|
2018-06-04 20:39:53 +02:00
|
|
|
# channel :integer default("email"), not null
|
2018-06-05 22:57:23 +02:00
|
|
|
# interval :integer not null
|
2018-05-31 20:49:06 +02:00
|
|
|
# recipient :string(255) not null
|
|
|
|
# sent_at :datetime
|
|
|
|
# status :integer default("pending"), not null
|
|
|
|
# created_at :datetime not null
|
|
|
|
# updated_at :datetime not null
|
|
|
|
# check_id :bigint(8)
|
|
|
|
#
|
|
|
|
# Indexes
|
|
|
|
#
|
|
|
|
# index_notifications_on_check_id (check_id)
|
|
|
|
#
|
|
|
|
# Foreign Keys
|
|
|
|
#
|
|
|
|
# fk_rails_... (check_id => checks.id)
|
|
|
|
#
|
|
|
|
|
|
|
|
require "test_helper"
|
|
|
|
|
|
|
|
class NotificationTest < ActiveSupport::TestCase
|
|
|
|
# test "the truth" do
|
|
|
|
# assert true
|
|
|
|
# end
|
|
|
|
end
|