@@ -15,7 +15,7 @@ pub type TestAlias = TestA;
1515// ─────────────────────────────────────────────────────────────────────────────
1616
1717#[ cfg( feature = "test-add-column" ) ]
18- #[ spacetimedb:: table( accessor = person, public, index( accessor = age, name = "age" , btree( columns = [ age] ) ) ) ]
18+ #[ spacetimedb:: table( accessor = person, public, index( accessor = age, btree( columns = [ age] ) ) ) ]
1919pub struct Person {
2020 #[ primary_key]
2121 #[ auto_inc]
@@ -27,7 +27,7 @@ pub struct Person {
2727}
2828
2929#[ cfg( not( feature = "test-add-column" ) ) ]
30- #[ spacetimedb:: table( accessor = person, public, index( accessor = age, name = "age" , btree( columns = [ age] ) ) ) ]
30+ #[ spacetimedb:: table( accessor = person, public, index( accessor = age, btree( columns = [ age] ) ) ) ]
3131pub struct Person {
3232 #[ primary_key]
3333 #[ auto_inc]
@@ -42,7 +42,7 @@ pub struct RemoveTable {
4242 pub id : u32 ,
4343}
4444
45- #[ spacetimedb:: table( accessor = test_a, index( accessor = foo, name = "foo" , btree( columns = [ x] ) ) ) ]
45+ #[ spacetimedb:: table( accessor = test_a, index( accessor = foo, btree( columns = [ x] ) ) ) ]
4646pub struct TestA {
4747 pub x : u32 ,
4848 pub y : u32 ,
@@ -128,7 +128,7 @@ pub struct PrivateTable {
128128 name : String ,
129129}
130130
131- #[ spacetimedb:: table( accessor = points, private, index( accessor = multi_column_index, name = "multi_column_index" , btree( columns = [ x, y] ) ) ) ]
131+ #[ spacetimedb:: table( accessor = points, private, index( accessor = multi_column_index, btree( columns = [ x, y] ) ) ) ]
132132pub struct Point {
133133 x : i64 ,
134134 y : i64 ,
0 commit comments