Set buckets at the workflow level

- All bubbles inherit the bucket's set workflow
This commit is contained in:
Jason Zimdars
2025-03-27 14:35:07 -05:00
parent 94d12710ad
commit 1cf2e24bcc
10 changed files with 79 additions and 28 deletions
+27 -18
View File
@@ -519,6 +519,16 @@ columns:
default_function:
collation:
comment:
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: workflow_id
cast_type: *1
sql_type_metadata: *2
'null': true
default:
default_function:
collation:
comment:
buckets_filters:
- *18
- *21
@@ -1355,6 +1365,22 @@ indexes:
comment:
valid: true
buckets:
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
table: buckets
name: index_buckets_on_workflow_id
unique: false
columns:
- workflow_id
lengths: {}
orders: {}
opclasses: {}
where:
type:
using:
include:
nulls_not_distinct:
comment:
valid: true
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
table: buckets
name: index_buckets_on_creator_id
@@ -1710,23 +1736,6 @@ indexes:
comment:
valid: true
pins:
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
table: pins
name: index_pins_on_bubble_id_and_user_id
unique: true
columns:
- bubble_id
- user_id
lengths: {}
orders: {}
opclasses: {}
where:
type:
using:
include:
nulls_not_distinct:
comment:
valid: true
- !ruby/object:ActiveRecord::ConnectionAdapters::IndexDefinition
table: pins
name: index_pins_on_user_id
@@ -2062,4 +2071,4 @@ indexes:
nulls_not_distinct:
comment:
valid: true
version: 20250318005138
version: 20250327191456