1.4 KiB
1.4 KiB
Contribution guidelines
Contributions are welcome! Please open an Issues or Pull Request for any changes.
In addition to core contributions, developers are encouraged to build their own custom transformers which can be run together with other custom transformers using the composeAndExeucte command.
Pull Requests
go fmt
is run as part ofmake test
andmake integrationtest
, please make sure to check in the format changes.- Ensure that new code is well tested, including integration testing if applicable.
- Make sure the build is passing.
- Update the README or any documentation files as necessary. If editing the Readme, please conform to the standard-readme specification.
- You may merge a Pull Request once you have an approval from core developer.
Creating a new migration file
make new_migration NAME=add_columnA_to_table1
- This will create a new timestamped migration file in
db/migrations
- This will create a new timestamped migration file in
- Write the migration code in the created file, under the respective
goose
pragma- Goose automatically runs each migration in a transaction; don't add
BEGIN
andCOMMIT
statements.
- Goose automatically runs each migration in a transaction; don't add
- Core migrations should be committed in their
goose fix
ed form. To do this, runmake version_migrations
which converts timestamped migrations to migrations versioned by an incremented integer.