
- Updated package.json to use PostgreSQL dependencies (pg, @types/pg)
- Removed SQLite dependency
- Updated TypeORM configuration for PostgreSQL connection
- Modified database entities to use PostgreSQL-compatible column types (jsonb, timestamp)
- Created comprehensive database migration script for initial schema
- Updated environment configuration with PostgreSQL variables
- Updated README with PostgreSQL setup instructions and database migration steps
- Ensured storage directories are properly configured
🤖 Generated with BackendIM
Co-Authored-By: Claude <noreply@anthropic.com>
35 lines
504 B
Markdown
35 lines
504 B
Markdown
# postgres-bytea [](https://travis-ci.org/bendrucker/postgres-bytea)
|
|
|
|
> Postgres bytea parser
|
|
|
|
|
|
## Install
|
|
|
|
```
|
|
$ npm install --save postgres-bytea
|
|
```
|
|
|
|
|
|
## Usage
|
|
|
|
```js
|
|
var bytea = require('postgres-bytea');
|
|
bytea('\\000\\100\\200')
|
|
//=> buffer
|
|
```
|
|
|
|
## API
|
|
|
|
#### `bytea(input)` -> `buffer`
|
|
|
|
##### input
|
|
|
|
*Required*
|
|
Type: `string`
|
|
|
|
A Postgres bytea binary string.
|
|
|
|
## License
|
|
|
|
MIT © [Ben Drucker](http://bendrucker.me)
|