sqlsync

Version, currently 1.0.01 version
  • 1.0.0latestDec 23, 2022

github.com/picallex/sqlsync

Sqlsync sincroniza la data SQL en una direccion.

2 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  sqlsync:
    github: picallex/sqlsync
    version: ~> 1.0.0

Then run:

shards install

shard.yml

Crystal
1.4.0
License
MIT
Author
Jovany Leandro G.C
Target
  • sqlsync from src/sqlsync/cli.cr

Dependencies

Runtime Dependencies

  • db*github: crystal-lang/crystal-db
  • pg*github: will/crystal-pg
  • sqlite3*github: crystal-lang/crystal-sqlite3
  • freeswitch-esl*github: bit4bit/freeswitch-esl.cr

README

sqlsync

Sqlsync sincroniza la data SQL en una direccion.

Se usa para sincronizar desde el sqlite de freeswitch a la base de datos de postgres.

Ojo solo usar para:

  • tablas que no manejen llaves foraneas con integridad referencial
  • tablas que no manejen data duplicadas
  • tablas que sean de muy pocos registros

Installation

generar executable bin/sqlsync

$ make docker-shards-production

Usage

$ sqlsync -c sqlsync.json

Development

  1. make docker-test
  2. Repetir paso 1

### Configuration

ver **sqlsync.json** como ejemplo.

## Contributing

1. Fork it (<https://github.com/bit4bit/sqlsync/fork>)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

## Contributors

- [Jovany Leandro G.C](jovany@picallex.com) - creator and maintainer

## Alternatives

* http://silvercoders.com/en/products/sqlsync/
* https://github.com/rla/sql-sync
* https://github.com/bhmj/sqlsync
* https://github.com/vielhuber/syncdb