3008 Commits

Author SHA1 Message Date
ed742095c2
when building in development environment the docker container contains the built files, but files are read from local harddrive where the build folder is not present. We mount a drive for the build folder in development mode.
This happens since we always use the built variant of the database project since the table contains the filename - which then varies between js & ts
2021-08-24 18:01:22 +02:00
996202a6bd
if the old migration table is present selecting fileName will result in an SQL error 2021-08-24 17:56:29 +02:00
Alexander Friedland
6f18f5a7e0
Merge pull request #773 from gradido/758-Decay-of-0
decay with the value 0 is no longer displayed
2021-08-24 13:32:20 +02:00
ogerly
db0ddb7d85
if decay is zero then this is displayed in writing otherwise the amount of decay is displayed 2021-08-24 13:08:59 +02:00
ogerly
69c35131c5
decay with the value 0 is no longer displayed 2021-08-24 13:08:59 +02:00
41482aab1a
Merge pull request #770 from gradido/database_migrations
database_migrations
2021-08-23 17:04:15 +02:00
6107cdd622
unsaved changes 2021-08-23 15:59:33 +02:00
0c9bcb00ad
publish docker image for the database migration 2021-08-23 15:57:36 +02:00
c310d1e263
works perfectly 2021-08-23 15:51:51 +02:00
abbcbb4be8
test if we fail the test when the sql server is not reachable 2021-08-23 15:49:53 +02:00
235de944d4
exit with code 1 if an error is thrown inside migration script 2021-08-23 15:47:14 +02:00
a10013bc72
start mysql before so we can hope for a connection 2021-08-23 15:46:21 +02:00
e839221f58
remove previous ocker compose build - its not needed 2021-08-23 15:41:38 +02:00
eaa7229b21
we need the mysql module, therefore the node_modules folder 2021-08-23 15:28:31 +02:00
e1dae547f0
test with correct target 2021-08-23 15:25:47 +02:00
e229494357
does this work now? 2021-08-23 15:15:12 +02:00
7622681be1
it is required to check out the code obviously 2021-08-23 15:05:12 +02:00
43b1866c37
try database migration up and reset
remove unfunctional gd docker compose parts
2021-08-23 15:00:36 +02:00
793b9d7c3c
build & lint testing for database migrations 2021-08-23 14:48:25 +02:00
aaa4b68388
Merge pull request #756 from gradido/backend_version
backend_version
2021-08-23 14:06:16 +02:00
65fdc75a1f
database version check backend,
connect "singleton" for mysql
docker-compose backend depends on mariadb and restarts till the correct database version is found
2021-08-23 14:03:02 +02:00
8cf8cc0751
added dotenv package requirement
removed typeorm package + orm config file
added mysql2 package
new config options for the database
cleaned .env.dist
2021-08-23 13:59:00 +02:00
d130ad1677
resolved missmerge due to overcommited stuff 2021-08-23 12:39:41 +02:00
9e29613206
docker implementation of the migrations service "database" 2021-08-23 12:38:27 +02:00
160e0bb6c6
comment 2021-08-23 12:38:26 +02:00
d4b5872ef2
also check if migration table is present at all 2021-08-23 12:38:26 +02:00
ffc83845e5
renamed script to have leading zeros to not break order later on 2021-08-23 12:38:26 +02:00
428b1139af
typo 2021-08-23 12:38:26 +02:00
f1ed748983
fixed bug where the migrations table was deleted every time 2021-08-23 12:38:26 +02:00
e8d6e871c4
missing await 2021-08-23 12:38:26 +02:00
197f1975bf
use mysql2 due to promise wrapper and speed advantage 2021-08-23 12:38:26 +02:00
d480cadf93
fixed build js up/down/reset commands
started to do some more prepare stuff
2021-08-23 12:38:26 +02:00
9660a883c3
removed more skeema stuff relate to the community db 2021-08-23 12:38:26 +02:00
46be5c2d3c
removed community db skeema stuff from mariadb docker file 2021-08-23 12:38:26 +02:00
890cce9e03
- removed remaining sql file from community server
- fixed skeema dockerfile
2021-08-23 12:38:25 +02:00
8547362609
removed skeema from community database 2021-08-23 12:38:25 +02:00
5bb5fda6e5
- initialize database migration
- create database if it does not exist
2021-08-23 12:38:25 +02:00
d5436646e5
.env.dist 2021-08-23 12:38:25 +02:00
349d4316d8
lint fixes 2021-08-23 12:38:25 +02:00
60a7b2749b
- eslint
- typescript config
- package json commands
- refactor script to be able to run up/down/reset
- config
- linting
2021-08-23 12:38:25 +02:00
7ed56ed5ab
database migrations - initial commit 2021-08-23 12:38:25 +02:00
d0c2bcbbc4
Merge pull request #769 from gradido/issue_release
issue_type_release
2021-08-23 12:35:56 +02:00
7e10ee6017
Merge pull request #771 from gradido/some_docu
some_docu
2021-08-23 12:35:36 +02:00
7f7834ed9f
Merge pull request #768 from gradido/database_reachable_in_testmode
database_reachable_in_testmode
2021-08-23 12:34:38 +02:00
a2b3a1b44d
Some docu files not yet in the repo 2021-08-22 13:40:11 +02:00
8cb79aa66b
issue type release 2021-08-22 13:25:44 +02:00
89965c5f26
allow maria db to be reachable from outside the docker environment in the test environment 2021-08-22 13:16:05 +02:00
89064e750d
updated changelog & backend package.json 2021-08-20 16:59:02 +02:00
5aaa229d5d
use release script instead of very long inline command 2021-08-20 16:58:30 +02:00
91123e27a3
release script 2021-08-20 16:57:03 +02:00