Deliver emails for bundled notifications (initial WIP)
This commit is contained in:
+90
-1
@@ -909,6 +909,41 @@ columns:
|
||||
collation:
|
||||
comment:
|
||||
- *9
|
||||
notification_bundles:
|
||||
- *5
|
||||
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
|
||||
auto_increment:
|
||||
name: ends_at
|
||||
cast_type: *1
|
||||
sql_type_metadata: *2
|
||||
'null': false
|
||||
default:
|
||||
default_function:
|
||||
collation:
|
||||
comment:
|
||||
- *6
|
||||
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
|
||||
auto_increment:
|
||||
name: starts_at
|
||||
cast_type: *1
|
||||
sql_type_metadata: *2
|
||||
'null': false
|
||||
default:
|
||||
default_function:
|
||||
collation:
|
||||
comment:
|
||||
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
|
||||
auto_increment:
|
||||
name: status
|
||||
cast_type: *3
|
||||
sql_type_metadata: *4
|
||||
'null': false
|
||||
default: 0
|
||||
default_function:
|
||||
collation:
|
||||
comment:
|
||||
- *9
|
||||
- *25
|
||||
notifications:
|
||||
- *5
|
||||
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
|
||||
@@ -1284,6 +1319,7 @@ primary_keys:
|
||||
filters_stages:
|
||||
filters_tags:
|
||||
mentions: id
|
||||
notification_bundles: id
|
||||
notifications: id
|
||||
pins: id
|
||||
push_subscriptions: id
|
||||
@@ -1332,6 +1368,7 @@ data_sources:
|
||||
filters_stages: true
|
||||
filters_tags: true
|
||||
mentions: true
|
||||
notification_bundles: true
|
||||
notifications: true
|
||||
pins: true
|
||||
push_subscriptions: true
|
||||
@@ -2294,6 +2331,58 @@ indexes:
|
||||
nulls_not_distinct:
|
||||
comment:
|
||||
valid: true
|
||||
notification_bundles:
|
||||
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
|
||||
table: notification_bundles
|
||||
name: idx_on_user_id_starts_at_ends_at_7eae5d3ac5
|
||||
unique: false
|
||||
columns:
|
||||
- user_id
|
||||
- starts_at
|
||||
- ends_at
|
||||
lengths: {}
|
||||
orders: {}
|
||||
opclasses: {}
|
||||
where:
|
||||
type:
|
||||
using:
|
||||
include:
|
||||
nulls_not_distinct:
|
||||
comment:
|
||||
valid: true
|
||||
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
|
||||
table: notification_bundles
|
||||
name: index_notification_bundles_on_user_id
|
||||
unique: true
|
||||
columns:
|
||||
- user_id
|
||||
lengths: {}
|
||||
orders: {}
|
||||
opclasses: {}
|
||||
where:
|
||||
type:
|
||||
using:
|
||||
include:
|
||||
nulls_not_distinct:
|
||||
comment:
|
||||
valid: true
|
||||
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
|
||||
table: notification_bundles
|
||||
name: index_notification_bundles_on_user_id_and_status
|
||||
unique: false
|
||||
columns:
|
||||
- user_id
|
||||
- status
|
||||
lengths: {}
|
||||
orders: {}
|
||||
opclasses: {}
|
||||
where:
|
||||
type:
|
||||
using:
|
||||
include:
|
||||
nulls_not_distinct:
|
||||
comment:
|
||||
valid: true
|
||||
notifications:
|
||||
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
|
||||
table: notifications
|
||||
@@ -2771,4 +2860,4 @@ indexes:
|
||||
comment:
|
||||
valid: true
|
||||
workflows: []
|
||||
version: 20250819105245
|
||||
version: 20250826084559
|
||||
|
||||
Reference in New Issue
Block a user