File tree Expand file tree Collapse file tree 7 files changed +12
-8
lines changed
Expand file tree Collapse file tree 7 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 22
33var fs = require ( 'fs' ) ;
44var Sequelize = require ( 'sequelize-cockroachdb' ) ;
5- var sequelize = new Sequelize ( process . env . ADDR , { } ) ;
5+ var sequelize = new Sequelize ( process . env . ADDR , {
6+ dialectOptions : { cockroachdbTelemetryDisabled : true }
7+ } ) ;
68var DataTypes = Sequelize . DataTypes ;
79
810if ( ! Sequelize . supportsCockroachDB ) {
Original file line number Diff line number Diff line change 88 "dependencies" : {
99 "body-parser" : " ^1.19.0" ,
1010 "express" : " ^4.17.1" ,
11- "sequelize" : " ^5.22.4 " ,
12- "sequelize-cockroachdb" : " ^1.1.0 "
11+ "sequelize" : " ^6.6.5 " ,
12+ "sequelize-cockroachdb" : " ^6.0.2 "
1313 }
1414}
Original file line number Diff line number Diff line change 44
55deps :
66 pip3 install --upgrade setuptools
7- pip3 install django==3.2 django-cockroachdb==3.2 psycopg2
7+ pip3 install django==3.2.8 django-cockroachdb==3.2.1 psycopg2
Original file line number Diff line number Diff line change 9090 'PASSWORD' : '' ,
9191 'HOST' : 'localhost' ,
9292 'PORT' : port ,
93+ 'DISABLE_COCKROACHDB_TELEMETRY' : True ,
9394 }
9495}
9596
Original file line number Diff line number Diff line change 1313# permissions and limitations under the License. See the AUTHORS file
1414# for names of contributors.
1515
16- ADDR ?= cockroachdb://root@localhost:26257/company_sqlalchemy?sslmode=disable
16+ ADDR ?= cockroachdb://root@localhost:26257/company_sqlalchemy?sslmode=disable&disable_cockroachdb_telemetry=true
1717
1818.PHONY : start
1919start :
2323deps :
2424 # To avoid permissions errors, the following should be run in a virtualenv
2525 # (preferred) or as root.
26- pip3 install flask-sqlalchemy==2.5.1 sqlalchemy-cockroachdb==1.3.2 psycopg2
26+ pip3 install flask-sqlalchemy==2.5.1 sqlalchemy-cockroachdb==1.4.1 psycopg2
Original file line number Diff line number Diff line change 77
88
99# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
10- gem 'rails' , '~> 5.2.4 '
11- gem 'activerecord-cockroachdb-adapter' , '~> 5.2 '
10+ gem 'rails' , '~> 6.1.4.1 '
11+ gem 'activerecord-cockroachdb-adapter' , '~> 6.1.3 '
1212# Use Puma as the app server
1313gem 'puma' , '~> 3.12'
1414# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ default: &default
33 port : 26257
44 host : localhost
55 user : root
6+ disable_cockroachdb_telemetry : true
67 # pool: 5
78 # timeout: 5000
89
You can’t perform that action at this time.
0 commit comments