Files
directus/packages/schema/package.json
Michael Schramm 75b5f33727 Implement CockroachDB support (#10113)
* base changes for cockroachdb

* allow creating of tables

* allow deleting of fields

* allow deleting of tables

* rebase

* fix migrations

* bump knex-schema-inspector to 1.7.0

* Update package-lock

* Add cockroach to debugging docker-compose file

* Remove unused import

* Tweak name in example.env

* Force nullable primary keys in cockroach

* Tweak shares migration to run on cockroach

* Rename var for clarification

* suggestion for migration helper

* change to schema and update remaining migrations

* Remove custom cockroach schema in favor of sharing with pg

* Fix migrations for CockroachDB

* Hopefully fix Oracle migrations 🤞🏻

* Make ~~aiden~~ oracle happy

* Resolve branching paths in migrations

* Enable tests for cockroach

* Fix test config

* One more config change for good measure

* Adjust test to match cockroach's bigint auto-int structure

* Increase request timeout for mssql

* Update api/src/database/helpers/schema/types.ts

Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Oreille <33065839+Oreilles@users.noreply.github.com>
Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>
2022-01-20 14:14:38 -05:00

55 lines
1.1 KiB
JSON

{
"name": "@directus/schema",
"version": "9.4.3",
"description": "Utility for extracting information about existing DB schema",
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc --build && echo \"Built successfully\"",
"dev": "npm-watch build"
},
"watch": {
"build": {
"patterns": [
"src/*"
],
"extensions": "ts",
"quiet": true,
"silent": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/directus/directus.git"
},
"keywords": [
"sql",
"knex",
"schema",
"mysql",
"postgresql",
"cockroachdb",
"sqlite3",
"javascript"
],
"author": "Rijk van Zanten <rijkvanzanten@me.com>",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/directus/directus/issues"
},
"homepage": "https://github.com/directus/directus#readme",
"devDependencies": {
"npm-watch": "0.11.0",
"typescript": "4.5.2"
},
"dependencies": {
"knex-schema-inspector": "^1.7.0",
"lodash": "^4.17.21"
},
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd"
}