Skip to content
/ oino Public

Tool for export from database to database designer service https://oino.uno and import to database from database designer service

License

Notifications You must be signed in to change notification settings

pvaviloff/oino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OINO.uno

Installation

composer global require 3xter/oino

Install in your laravel project laracasts/generators

composer require --dev laracasts/generators

Settings

Create in your project oino.yaml file.

settings:
  shell-driver: 'laravel'
  db-execute: 'schema'
  db:
    driver: 'pdo_mysql'
    host: 'localhost'
    dbname: 'homestead'
    port: 3306
    user: 'homestead'
    password: 'secret'
args:
  file: ''
  tab: ''
  project: ''
  dir: ''
  filename: ''

db - schema parser use dbal. More details about settings: Doctrine DBAL Configuration

Import example:

php ~/.composer/vendor/bin/oino -c import -o /path/to/settings/oino.yaml --file="path/to/exported/file.json" --tab="tab name" --project="/path/to/project"

Export example:

php ~/.composer/vendor/bin/oino -c export -o /path/to/settings/oino.yaml --dir="path/to/export/directory"

About

Tool for export from database to database designer service https://oino.uno and import to database from database designer service

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages