1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Vince Grassia
b828faf30d
Fix run_migrations.sh script (#2289) 2022-09-19 18:57:18 -04:00
Thomas Avery
dded4e7780
Fix initial database creation in run_migrations.sh (#2009) 2022-05-23 11:35:39 -05:00
Matt Gibson
47b1e5317c
Store migrations in a migrations db (#1992)
* Store migrations in a migrations db

Added the -p flag to run_migrations for pipeline to run from
environment variables

Created meta-migrations script to pre-populate migrations_vault_dev
tables with run migrations for those already using the last_migrations
file

* Update dev/helpers/mssql/migrate_migrations.sh

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

* Update dev/helpers/mssql/run_migrations.sh

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

* Remove last_migration file creation

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2022-05-16 12:16:34 -05:00
Matt Gibson
4814cef245
Feature/self hosted development (#1921)
* Add self-host option to migration runner

* Add Self-host launch options

* Add self-hosted settings override

Let's a single secrets/env config file control both
cloud and self-hosted settings by allowing
overrides to cloud settings with self-hosted

* Allow dev-signed licenses on dev self-hosted

* Allow setting bitwarden cloud api url

Useful for testing api integration between installations and cloud

* Remove testing echoes

* Remove run config property groups

* Use `getopts` for options

* Pass in full environment
2022-03-21 17:13:00 -05:00
Oscar Hinton
0ae9e28884
Use Azure SQL Edge for development (#1709) 2021-11-24 19:08:36 +01:00
Daniel James Smith
4d6b0c9106
Add a tiny sleep to the run_migrations script due to a weird bug with Docker (#1634) 2021-10-15 16:29:17 +02:00
Oscar Hinton
964e262d44
Simplify development environment setup (#1588) 2021-10-13 19:30:03 +02:00