File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -130,18 +130,18 @@ fn powersync_remove_duplicate_key_encoding_impl(
130130}
131131
132132create_sqlite_optional_text_fn ! (
133- powersync_remote_duplicate_key_encoding ,
133+ powersync_remove_duplicate_key_encoding ,
134134 powersync_remove_duplicate_key_encoding_impl,
135- "powersync_remote_duplicate_key_encoding "
135+ "powersync_remove_duplicate_key_encoding "
136136) ;
137137
138138pub fn register ( db : * mut sqlite:: sqlite3 ) -> Result < ( ) , ResultCode > {
139139 db. create_function_v2 (
140- "powersync_remote_duplicate_key_encoding " ,
140+ "powersync_remove_duplicate_key_encoding " ,
141141 1 ,
142142 sqlite:: UTF8 | sqlite:: DETERMINISTIC ,
143143 None ,
144- Some ( powersync_remote_duplicate_key_encoding ) ,
144+ Some ( powersync_remove_duplicate_key_encoding ) ,
145145 None ,
146146 None ,
147147 None ,
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ void main() {
5858
5959 // Apply migration
6060 db.execute (
61- 'UPDATE ps_oplog SET key = powersync_remote_duplicate_key_encoding (key);' );
61+ 'UPDATE ps_oplog SET key = powersync_remove_duplicate_key_encoding (key);' );
6262
6363 [row] = db.select ('select * from ps_oplog' );
6464 expect (row['key' ], 'items/1/subkey' );
You can’t perform that action at this time.
0 commit comments