einhornimmond
|
536e97f8a6
|
Merge pull request #881 from gradido/community_test_db
Community-Server Test with new db migration
|
2021-09-23 13:47:08 +02:00 |
|
einhorn_b
|
91d51ea7c3
|
fix 2
|
2021-09-23 13:25:38 +02:00 |
|
|
|
f9a40be539
|
use another .env file, else things get too complicated since production and dev .env's are no longer compatible to eachother
|
2021-09-21 19:18:08 +02:00 |
|
|
|
cebf92c451
|
fixed migrations directory to default to the production version.
This is the downside of this patch - the .env file has to be different in dev and production version
|
2021-09-21 10:34:56 +02:00 |
|
|
|
94424f17a2
|
Fixed database tool to read .env config when built.
|
2021-09-21 10:24:43 +02:00 |
|
|
|
235de944d4
|
exit with code 1 if an error is thrown inside migration script
|
2021-08-23 15:47:14 +02:00 |
|
|
|
eaa7229b21
|
we need the mysql module, therefore the node_modules folder
|
2021-08-23 15:28:31 +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 |
|
|
|
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 |
|