Commit graph

15 commits

Author SHA1 Message Date
Sebastian Jeltsch
7a8c31c8e9 Cleanup: move all Rust code into a crates/ directory. 2025-08-07 10:02:32 +02:00
Sebastian Jeltsch
2f676aea76 Make columns in CreateAlterTable form append-only, therefore significantly reducing complexity. 2025-08-04 00:16:03 +02:00
Sebastian Jeltsch
61bbf50fe7 Fix invalid alter-column-operation when deleting a middle column. 2025-08-04 00:15:45 +02:00
Sebastian Jeltsch
10bd4f6486 Remove target_schema from AlterTableRequest. 2025-08-03 16:54:13 +02:00
Sebastian Jeltsch
22e81afcbd Express schema alterations as a series of operations.
The way we extract the operations from the form feels brittle but I can't think of a great alternative.
2025-08-03 16:45:01 +02:00
Sebastian Jeltsch
39301d0ecd Allow admin schema alterations via list of operations rather than just a plain target-schema. 2025-08-03 16:44:53 +02:00
Sebastian Jeltsch
6f89ab1464 Minor: hide STRICT'ness in alter table form. 2025-08-02 22:35:33 +02:00
Sebastian Jeltsch
03fafe74db Fix parse nullable column constraint and clearing of Record API form dirty state. #117 2025-08-02 21:39:04 +02:00
Sebastian Jeltsch
dc17177a99 Make "Dry Run" available in UI for alter table and index. #89 2025-07-18 21:30:07 +02:00
Sebastian Jeltsch
500760fd13 Add dry-run to all the schema mutating admin handlers. #89 2025-07-18 12:30:22 +02:00
Sebastian Jeltsch
38381d327c Fix login reactivity issue for mobile copy&paste. 2025-06-11 21:40:16 +02:00
Sebastian Jeltsch
f4d76befa5 Use QualifiedName everywhere instead of strings to reference TABLEs and VIEWs. 2025-05-24 15:14:43 +02:00
Sebastian Jeltsch
522e0e13bf Add some early basics to deal with multiple attached databases. 2025-05-22 14:17:02 +02:00
Sebastian Jeltsch
c561e8eb99 Use more tanstack query to improve state management. 2025-05-11 11:56:46 +02:00
Sebastian Jeltsch
2789a54eac Move JS assets into a separate crate to avoid unecessary rebuilds as much as possible. 2025-04-08 22:50:50 +02:00
Renamed from trailbase-core/js/admin/src/components/tables/CreateAlterTable.tsx (Browse further)