Commit Graph

62 Commits

Author SHA1 Message Date
Adria Navarro 1aad2ee6d2 Fix after renames 2024-04-26 12:23:11 +02:00
Adria Navarro 874c698776 lint 2024-04-19 12:52:25 +02:00
Adria Navarro a1b91da40f Add basic fetch schema test 2024-04-19 10:40:16 +02:00
Adria Navarro 33c40a897a Fix test 2024-04-17 12:12:41 +02:00
Sam Rose 6a657625ae
Uncomment tests 🙈 2024-04-08 16:46:27 +01:00
Sam Rose e1da9cbfa4
Fix types. 2024-04-08 16:11:05 +01:00
Sam Rose 4347667cb3
Remove .only 2024-04-08 10:44:08 +01:00
mike12345567 2876085b61 Fixing test case to update schema when updating column name. 2024-04-05 18:35:56 +01:00
Sam Rose 9da10c790e
One failure left for MSSQL 2024-04-05 17:47:55 +01:00
Sam Rose 7d8cadb47f
table.spec.ts passing with MariaDB 2024-04-05 16:55:00 +01:00
Sam Rose de2afa01b9
table.spec.ts passing with MySQL 2024-04-05 16:54:29 +01:00
Sam Rose bcc09bd86e
table.spec.ts passing for internal and postgres 2024-04-05 16:38:57 +01:00
Sam Rose bc072e1424
More progress on fixing up table.spec.ts. 2024-04-05 11:50:27 +01:00
Sam Rose f80a207d28
Working towards running table.spec.ts against external datasources. 2024-04-04 17:39:35 +01:00
Sam Rose 1f63f0bddf
Run auto fix. 2024-03-19 09:46:10 +00:00
Sam Rose 850fb3d4ec
Get viewV2.spec.ts running against real databases. 2024-03-14 17:11:09 +00:00
melohagan ee0f0abad2
Fix/rename mysql column (#13186)
* Rebuild table schema when adding new column to get externalType

* Added MySQL integration test suite

* Add test for emitting datasource on save new column

* Update packages/server/src/integration-test/mysql.spec.ts

Co-authored-by: Sam Rose <hello@samwho.dev>

* remove duplicate tests

* Use UUID

* update account portal

* Remove _add for internal save

* Internal DB add column unit test

* rename column test

* update modules

* fix tests

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-03-04 15:55:45 +00:00
Sam Rose 5d42804020
Migrate some of RowAPI, WIP 2024-03-01 15:20:07 +00:00
Sam Rose 3203cc3d72
Convert TableAPI. 2024-02-28 16:27:14 +00:00
Sam Rose f67173b757
Fix flaky table test. 2024-02-20 11:35:29 +00:00
Adria Navarro 6cdfd4b621 Lint 2024-02-12 12:36:29 +01:00
Adria Navarro ffdfb731fb Fix tests 2024-02-12 12:25:56 +01:00
Adria Navarro 2c26b55a7c Handle view creation on new table requests 2024-02-12 11:59:05 +01:00
Adria Navarro f1a75b84b4 Add test 2024-02-12 11:03:08 +01:00
Adria Navarro c18a3d4abb Add creation tests 2024-02-12 11:03:08 +01:00
Adria Navarro 8dfcc3aeb1
Revert "Revert "Migrate from `vm` to `isolated-vm`"" 2024-02-02 12:02:09 +01:00
Sam Rose 332a201ae7
Revert "Migrate from `vm` to `isolated-vm`" 2024-02-02 09:51:46 +00:00
Adria Navarro 45ea6a6fd6
Revert "Revert "Migrate from `vm` to `isolated-vm`"" 2024-02-01 16:47:41 +01:00
Adria Navarro 16749ec3dd
Revert "Migrate from `vm` to `isolated-vm`" 2024-02-01 16:30:34 +01:00
Adria Navarro 3808718004 Fix tests 2024-02-01 12:42:23 +01:00
Adria Navarro d806029075
Merge branch 'master' into remove_test_flakiness 2024-01-29 15:21:24 +01:00
Adria Navarro cb53d31833 Renames 2024-01-26 10:56:38 +01:00
mike12345567 ccc751d09c A quick refactor to get rid of the old 'FieldTypes' enumeration, considering how core it is to all data handling in Budibase, the fact we had both 'FieldType' and 'FieldTypes' was confusing - righting this fully. 2024-01-24 16:58:13 +00:00
Sam Rose e316124d6e
Add a test for the user column migration bug fix we did last night. 2023-11-03 11:42:39 +00:00
Sam Rose 45543cbc03
Catch a few more edge cases with column names, add tests for them. 2023-10-27 15:59:31 +01:00
mike12345567 19eaafd946 Fixing some test cases. 2023-10-26 16:32:34 +01:00
mike12345567 ed0670a008 Major update to make the table.type always 'table' and then adding a new sourceType which states what source the table came from, external or internal. Don't want to keep using a type that should be static as two different things. 2023-10-26 13:19:09 +01:00
mike12345567 455b26bac9 Making sure the source ID is always set when creating a table - the frontend expects this to be set for every table so making the type represent this correctly. 2023-10-25 19:00:25 +01:00
Sam Rose 5e6ed0fd67
Implement many-to-one user column migration. 2023-10-23 11:54:27 +01:00
Sam Rose a3ad8780de
Implement many-to-many user column migrations. 2023-10-19 17:28:55 +01:00
Sam Rose 1771b5905a
Most of the way to getting my first test passing. 2023-10-18 18:02:10 +01:00
Sam Rose 6ae5451fdf
Create failing test. 2023-10-18 16:56:55 +01:00
Sam Rose c76e110350 Add BulkImportResponse as a type after merging Adri's type changes. 2023-10-11 16:58:24 +01:00
Sam Rose 789b247879 Pull origin, resolve merge conflicts. 2023-10-11 16:53:28 +01:00
Sam Rose 123f96db12 Pull origin, resolve merge conflicts. 2023-10-11 16:49:34 +01:00
Michael Drury 7825a56847 Merge branch 'master' into fix/budi-7552-csv-import-messes-up-auto-generated-auto-id-column 2023-10-11 16:48:19 +01:00
Sam Rose a0e9abb95b Responding to PR feedback. 2023-10-11 16:45:02 +01:00
Michael Drury d212837b1b Merge branch 'master' into fix/budi-7552-csv-import-messes-up-auto-generated-auto-id-column 2023-10-11 16:42:01 +01:00
Adria Navarro 62fd9011f3 Merge branch 'labday/type_schema' into feature/multi-user-type-column 2023-10-11 14:13:55 +02:00
Sam Rose 4bda97d70f Create a failing test for BUDI-7552 2023-10-11 11:07:46 +01:00