Pydal2sql

Latest version: v1.2.0

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

1.1.0

Feature

* You can now add an 'input' to the pyproject to automatically select the db definition file ([`66b1fcc`](https://github.com/robinvandernoord/pydal2sql/commit/66b1fcc49f35c022deedb29b7c3505773fe23ed7))

1.0.1

Fix

* **config:** More config via toml and load dotenv even if config via toml ([`f077ce7`](https://github.com/robinvandernoord/pydal2sql/commit/f077ce7ecfc094d3851ff2d579dc6f7d3c8e4fcb))

1.0.0

Feature

* Allow --output-format and --output-file to create and alter ([`b3351a2`](https://github.com/robinvandernoord/pydal2sql/commit/b3351a292cb620d2c47ad503b116d8eca3e90115))
* Db_type from config toml ([`ad31040`](https://github.com/robinvandernoord/pydal2sql/commit/ad310404d6908f026e63ad3a9350abcb052aa8af))
* 'alter' via cli should work now! ([`a734a8c`](https://github.com/robinvandernoord/pydal2sql/commit/a734a8caccb2e89970faf71e581071e129a0564e))
* Changed commit:file notation to filecommit for readability ([`f6abefe`](https://github.com/robinvandernoord/pydal2sql/commit/f6abefec8ffb32236efad141005085d371327f8e))
* Load file from disk, git or stdin for 'alter' ([`490dbe1`](https://github.com/robinvandernoord/pydal2sql/commit/490dbe1a816644b453f1acf3d07b087a4521ad95))
* Started on getting files from git for ALTER ([`075f2fd`](https://github.com/robinvandernoord/pydal2sql/commit/075f2fdd993969e0effe4846fe2055e9ae4b8444))
* Rewriting cli to Typer ([`673f208`](https://github.com/robinvandernoord/pydal2sql/commit/673f208e8d6b99af377a256c372315762e0a4597))
* Work in progress to support ALTER statements ([`f346073`](https://github.com/robinvandernoord/pydal2sql/commit/f34607373120bdba5be361d2f3dd8affe83300df))

Fix

* Bump -core to at least 0.2.0 ([`f8de3b7`](https://github.com/robinvandernoord/pydal2sql/commit/f8de3b7c2fd03f24089c3ce6786cf70be99d7cc9))
* Update examples and tests to work with latest (dev) version of p2s-core ([`2d0a5db`](https://github.com/robinvandernoord/pydal2sql/commit/2d0a5dbbb3df2529630d8ba09a69ec8dd798f0d3))
* If define_table code is inside a function, --function can be added to specify this. `define_tables(db)` will be used by default. ([`6359e48`](https://github.com/robinvandernoord/pydal2sql/commit/6359e48e732c065399fd07301e1a7b33ac1741a3))
* Unknown and local imports in model file will be removed if they cause issues ([`2d3ae75`](https://github.com/robinvandernoord/pydal2sql/commit/2d3ae757b9c0b43886acc50aa724d4fe62dcbecb))
* Made 'create' work again with new cli ([`cf2f175`](https://github.com/robinvandernoord/pydal2sql/commit/cf2f175c074acb4eeec0be8e594d3a04ad0c9615))

Breaking

* could change imports like `from pydal2sql.magic`!!! ([`a477b4d`](https://github.com/robinvandernoord/pydal2sql/commit/a477b4dc6a73264aa4b575e0855de00eee241d10))
* whole cli will change ([`673f208`](https://github.com/robinvandernoord/pydal2sql/commit/673f208e8d6b99af377a256c372315762e0a4597))

Documentation

* Added more docstrings ([`1db78f4`](https://github.com/robinvandernoord/pydal2sql/commit/1db78f4aeab377ee514ed82124e0775ad3e2592f))
* Updated README with new cli options ([`7725ddd`](https://github.com/robinvandernoord/pydal2sql/commit/7725ddd8aaeef4c2644a2e64a10de15a40611a9e))
* Added todo's ([`609fa5f`](https://github.com/robinvandernoord/pydal2sql/commit/609fa5f2cf968321c6cdbf1ba7b0ecd232bc7298))

0.4.0

Feature

* Add core_stub functionality to generate a stub migration ([`cdfa7f2`](https://github.com/robinvandernoord/pydal2sql-core/commit/cdfa7f237b6e97de0f350a104ebb67937ec259e8))

0.3.8

Fix

* Update PYTHONPATH for local imports, which could help some cases ([`6c5fb17`](https://github.com/robinvandernoord/pydal2sql-core/commit/6c5fb17b5594ff68a375d29a48debb165af02e83))

0.3.7

Fix

* Allow indented blocks if magic ✨ is enabled ([`98d1955`](https://github.com/robinvandernoord/pydal2sql-core/commit/98d1955e29c9f457fec68c0b4c20de4f7d458ca5))

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.