Ivan Vasilov and Joshen Lim
c18f021707
fix: When inserting a row, default value on optional fields was not working ( #18319 )
...
* When inserting a row, omit all null values so that they can be defaulted by the DB.
* Add test cases for generateRowObjectFromFields
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2023-10-19 14:52:29 +02:00
Terry Sutton
49cec4b484
Table editor sidepanel not handling null properly
2023-06-07 12:40:46 -02:30
Joshen Lim
93543c5486
Shift SpreadsheetImport
2023-03-30 17:35:06 +08:00
Joshen Lim
006fe2463d
Deprecate the use of unescapeLiteral in ColumnEditor
2022-10-04 12:39:49 +08:00
Joshen Lim
332e175105
Remove unnecessary RowEditor.utils.test.ts
2022-09-27 15:40:00 +08:00
Joshen Lim
df7f056257
Add temp fix in unescapeLiteral for nextval
2022-09-27 15:40:00 +08:00
Terry Sutton
def5010567
Fix misnamed bools, add date tests
2022-08-29 16:19:18 -02:30
Joshen Lim
2162888c3a
Fix spelling in test
2022-07-19 16:58:35 +08:00
Joshen Lim
95be697ea7
Fix incorrect parsing of column default value when default value is an expression that is a combination of values
2022-07-19 16:58:35 +08:00
Joshen Lim
24928cc50c
Update logic
2022-06-21 17:27:08 +08:00
Joshen Lim
287926d802
Add fix for spreadsheet import utils when infering boolean type column
2022-06-21 17:27:08 +08:00
Joshen Lim
8d7bf8f706
Update more test cases for row editor validate
2022-06-08 10:39:34 +08:00
Joshen Lim
31f9014330
Fix row editor treating 0 as empty value and hence throws error when column is not nullable, midway writing tests
2022-06-08 10:39:34 +08:00
Joshen Lim
70f356cced
Fix table editor to render empty strings and null values properly, was mixing them up previously
2022-05-24 17:51:00 +08:00
Joshen Lim
b2df774c21
Convert test file to js
2022-05-20 17:47:07 +08:00
Joshen Lim
bf0a2ccb54
fix: unescape literal util method returning wrongly for functions which are longer than one word, and json + added tests
2022-05-20 17:47:07 +08:00
Joshen Lim
e2e534eac1
Fix spreadsheet utils test
2022-04-28 11:31:59 +07:00
Joshen Lim
be3134b1ac
Resolve https://sentry.io/organizations/supabase/issues/2956926689conflicts
2022-04-28 11:31:59 +07:00