0.9.0 • Published 1 year ago

@sphereon/ssi-sdk-data-store-common v0.9.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Warning: This package still is in very early development. Breaking changes without notice will happen at this point!


SSI-SDK data storage entities based on TypeORM. This package provides entities that relate to data storage. Please note they need to be used with the @sphereon/data-store and @sphereon/connection-manager packages

Installation

yarn add @sphereon/ssi-sdk-data-store-common

Build

yarn build

Module developers

We use TypeORM migrations to support database changes over time. As soon as you need to update, add or delete information from entities, ensure that migration files are being created to reflect the updates.

Currently we support migrations for sqlite databases, typically used during development and on mobile platforms. Next to that we also support Postgres. Obviously you need to have a Postgresql database at hand when working with Postgres.

Create a migration file

  • Ensure you have an existing sqlite/postgres database at hand with the old situation
  • Make a copy of that database so you can always easily go back
  • Run the respective commands for postgresl and/or sqlite:
    • yarn run typeorm-postgres:migration:generate NameOfYourMigration
    • yarn run typeorm-sqlite:migration:generate NameOfYourMigration
  • Check in the src/migrations folders to find a file in the respective sqlite/postgres folder which contains NameOfYourMigration
  • Update the index.ts file in the respective directory to include the migration. Users will import that file as their migrations entrypoint from their TypeORM config.
  • If you wish to check whether applying the migration works you can execute the respective
0.9.1-next.42

1 year ago

0.9.1-next.9

1 year ago

0.8.1-next.272

1 year ago

0.9.1-next.17

1 year ago

0.9.1-next.16

1 year ago

0.9.1-next.15

1 year ago

0.9.1-next.13

1 year ago

0.9.1-next.12

1 year ago

0.9.1-next.11

1 year ago

0.9.1-next.10

1 year ago

0.9.0

1 year ago

0.9.1-next.21

1 year ago

0.8.1-next.190

1 year ago

0.8.1-next.192

1 year ago

0.8.1-next.194

1 year ago

0.8.1-next.114

1 year ago

0.8.1-next.117

1 year ago

0.8.1-next.119

1 year ago

0.8.1-next.120

1 year ago

0.8.1-next.121

1 year ago

0.8.1-next.122

1 year ago

0.8.1-next.123

1 year ago

0.8.1-next.146

1 year ago

0.8.1-next.154

1 year ago

0.8.1-next.156

1 year ago

0.8.1-next.157

1 year ago

0.8.1-next.158

1 year ago

0.8.1-next.159

1 year ago

0.8.1-next.161

1 year ago

0.8.1-next.162

1 year ago

0.8.1-next.163

1 year ago

0.8.1-next.164

1 year ago

0.8.1-next.165

1 year ago

0.8.1-next.166

1 year ago

0.8.1-next.167

1 year ago

0.8.1-next.168

1 year ago

0.8.1-next.169

1 year ago

0.8.1-next.179

1 year ago

0.8.1-next.26

2 years ago

0.8.1-next.66

2 years ago

0.8.1-next.31

2 years ago

0.8.1-next.77

2 years ago

0.8.1-next.84

2 years ago

0.8.1-next.42

2 years ago

0.8.1-next.50

2 years ago

0.8.1-next.57

2 years ago

0.8.1-next.55

2 years ago

0.8.1-unstable.9

2 years ago

0.8.1-next.20

2 years ago

0.8.1-unstable.5

2 years ago

0.8.1-unstable.4

2 years ago

0.7.1-next.66

2 years ago

0.7.1-next.68

2 years ago

0.8.1-next.3

2 years ago

0.8.1-next.6

2 years ago

0.8.1-next.2

2 years ago

0.7.1-next.54

2 years ago

0.8.1-next.12

2 years ago

0.8.1-next.18

2 years ago

0.8.0

2 years ago

0.7.1-next.43

2 years ago

0.7.1-next.40

2 years ago

0.7.1-next.39

2 years ago

0.7.1-next.38

2 years ago

0.7.1-next.18

2 years ago

0.7.1-unstable.9

2 years ago

0.7.0

2 years ago

0.6.1-next.79

2 years ago

0.6.1-next.78

2 years ago

0.6.1-next.76

2 years ago