https://github.com/k1low/tmpfk
Temporary foreign key add/drop tool for using ERD generator for "Keyless entry (SQL Antipatterns)" schema.
https://github.com/k1low/tmpfk
activerecord cakephp foreign-keys ruby-on-rails
Last synced: 3 months ago
JSON representation
Temporary foreign key add/drop tool for using ERD generator for "Keyless entry (SQL Antipatterns)" schema.
- Host: GitHub
- URL: https://github.com/k1low/tmpfk
- Owner: k1LoW
- License: mit
- Created: 2017-02-15T15:36:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-27T11:41:44.000Z (over 8 years ago)
- Last Synced: 2025-07-25T08:08:27.144Z (4 months ago)
- Topics: activerecord, cakephp, foreign-keys, ruby-on-rails
- Language: Ruby
- Homepage:
- Size: 35.2 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# tmpfk
Temporary foreign key add/drop tool for using ERD generator for "Keyless entry (SQL Antipatterns)" schema.

## Installation
Install it yourself as:
```sh
$ gem install tmpfk
```
## Usage
### Requirement
- "Keyless entry (SQL Antipatterns)" database.
- The Same format config.yml as [Ridgepole](https://github.com/winebarrel/ridgepole)'s config.yml.
### Add foreign keys
```sh
$ tmpfk add -c config.yml
```
### Dop foreign keys
```sh
$ tmpfk drop -c config.yml
```
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/k1LoW/tmpfk. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).