-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(db): Rename all collection usage to tables (#10460)
* chore: rename `collection` field to `table` * chore: remove deprecated ResolvedCollectionConfig type (only used by studio) * chore: collection -> table in migration-queries * chore: update tests * chore: last renames * chore: bump migration version * chore: remove deprecated collection field * chore: droptablequeries * chore(test): collection -> tables * chore: revert collection -> table change on migration file * chore: revert migration version change * chore: changeset
- Loading branch information
1 parent
06a6c1a
commit 713abb2
Showing
11 changed files
with
135 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@astrojs/db": patch | ||
--- | ||
|
||
Remove legacy Astro DB internals using the "collections" naming convention instead of "tables." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export type { ResolvedCollectionConfig, TableConfig } from './core/types.js'; | ||
export type { TableConfig } from './core/types.js'; | ||
export { cli } from './core/cli/index.js'; | ||
export { integration as default } from './core/integration/index.js'; | ||
export { typegen } from './core/integration/typegen.js'; |
Oops, something went wrong.