Adria Navarro
88fc133f45
Move responsability
2024-04-17 12:12:41 +02:00
Adria Navarro
54f2c825fc
Remove _add
2024-04-17 12:12:41 +02:00
Sam Rose
bcc09bd86e
table.spec.ts passing for internal and postgres
2024-04-05 16:38:57 +01: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
Adria Navarro
2c26b55a7c
Handle view creation on new table requests
2024-02-12 11:59:05 +01:00
Adria Navarro
c18a3d4abb
Add creation tests
2024-02-12 11:03:08 +01:00
mike12345567
9b1a7bd854
PR comments - updating pickAPI to use a common function.
2023-10-27 11:43:01 +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
007e919d0e
Spring cleaning before review.
2023-10-25 14:53:51 +01:00
Sam Rose
70f39b6b6b
Fix missing sourceId on Table sent to the websocket.
2023-10-25 14:41:23 +01:00
Sam Rose
52f97fbd1f
Attempt to emit events that include the originator.
2023-10-25 11:38:31 +01:00
Sam Rose
78afba63de
Emit table updates to the builder socket, and some minor refactoring.
2023-10-25 11:03:35 +01:00
Sam Rose
6517150f32
Merge branch 'master' of github.com:Budibase/budibase into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column
2023-10-18 18:05:18 +01:00
Sam Rose
6ae5451fdf
Create failing test.
2023-10-18 16:56:55 +01:00
Sam Rose
c25de74e17
Action Michael's feedback about the structure of this feature.
2023-10-18 15:14:34 +01:00
Sam Rose
5747f30b5f
Precondition checks to make sure the migration is from the right column to the right column.
2023-10-18 12:04:50 +01:00
Sam Rose
3634687442
Create endpoint and controller function for user column migration.
2023-10-18 10:31:36 +01:00
Michael Drury
a23f918880
Merge branch 'master' into fix/internal-db-enrich-perf
2023-10-12 11:09:17 +01:00
mike12345567
09ce950e64
Merge branch 'master' of github.com:Budibase/budibase into fix/internal-db-enrich-perf
2023-10-11 17:24:08 +01:00
mike12345567
b310d7c5a7
Linting.
2023-10-11 17:12:28 +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
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
Sam Rose
7f2ab8b1ae
Make sure table gets saved after bulkImport if it has changed. This fixes auto ID columns having the wrong lastID.
2023-10-11 12:29:43 +01:00
Adria Navarro
71159e4f4a
Import internal
2023-10-10 13:52:47 +02:00
mike12345567
ee4a042204
Typing fixes - unsure why all of these came up suddenly.
2023-10-05 18:40:56 +01:00
Adria Navarro
46a224751f
Types
2023-09-29 11:47:23 +02:00
mike12345567
7bd84bd048
Some typing fixes as well as a fix for the frontend issue of tables not correctly having their schemas updated in the table store when relationships added.
2023-09-26 17:01:30 +01:00
Adria Navarro
6bae382d81
Fix tests
2023-09-13 12:23:59 +02:00
Andrew Kingston
b5546f8d9b
Update server and builder to properly sync changes with tables and views across all users
2023-08-17 16:04:56 +01:00
mike12345567
584784edca
Lint.
2023-08-11 14:58:09 +01:00
mike12345567
822a086666
Refactoring to make it so that visible: false columns are removed from views, and when returning view schema, all columns are enriched.
2023-08-11 14:57:53 +01:00
Adria Navarro
082166d8f9
Typing table save
2023-08-09 15:43:53 +03:00
Adria Navarro
d2020fd6bc
Move enrich views to sdk
2023-07-24 15:17:04 +02:00
Adria Navarro
396c4ad439
Use new table schema
2023-07-24 15:17:04 +02:00
Adria Navarro
ed02aa4d8b
Enrich view schemas
2023-07-24 15:17:04 +02:00
Adria Navarro
22dd218b1a
Fetch schema
2023-07-24 15:17:04 +02:00
Adria Navarro
30138570d5
Typex
2023-07-24 15:17:04 +02:00
mike12345567
651d50a064
Updating datasource information endpoint to POST which allows sending up an unfinished/unsaved datasource for fetching information with. Also changing how verification and information endpoints work so that enrichment is used and therefore env vars can also be used.
2023-05-31 17:04:29 +01:00
Andrew Kingston
cfa07a68ae
Handle table, query and datasource events using builder socket
2023-05-22 15:59:44 +01:00
Dean
1e6652dc39
Fix for importing exported array/option fields. Fix to ensure lastid and inclusion updates persisted as a result of an import. Test updates for array and option fields
2023-05-10 12:36:01 +01:00
Dean
0aeb06bb2b
Merge commit
2023-05-05 13:39:59 +01:00
Adria Navarro
29df12c247
Add csvutils
2023-05-02 10:34:45 +01:00
mike12345567
79f2e9d970
Fixing build issue.
2023-03-14 17:04:25 +00:00
Gerard Burns
48e1695318
JSON import changes ( #9288 )
...
* JSON import changes
* Fix lockfiles
* PR Feedback, fix tests
* fix tests
* pr feedback
2023-01-17 15:07:52 +00:00
mike12345567
658f12281d
Fixes based on server build so far.
2022-11-26 15:10:41 +00:00
mike12345567
8a4da7d4ce
Typescript conversion of the table controllers.
2022-11-22 13:56:01 +00:00