File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed
Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 11Changes
22=======
33
4+ 0.46.0
5+ ------
6+ Added the fixture app. This is used to dump data from a database to a JSON
7+ file, and then reload it again. It's useful for seeding a database with
8+ essential data, whether that's a colleague setting up their local environment,
9+ or deploying to production.
10+
11+ To create a fixture:
12+
13+ .. code-block:: bash
14+
15+ piccolo fixture dump --apps=blog > fixture.json
16+
17+ To load a fixture:
18+
19+ .. code-block:: bash
20+
21+ piccolo fixture load fixture.json
22+
23+ As part of this change, Piccolo's Pydantic support was brought into this
24+ library (prior to this it only existed within the ``piccolo_api`` library). At
25+ a later date, the ``piccolo_api`` library will be updated, so it's Pydantic
26+ code just proxies to what's within the main ``piccolo`` library.
27+
4280.45.1
529------
630Improvements to ``piccolo schema generate``. It's now smarter about which
Original file line number Diff line number Diff line change 1- __VERSION__ = "0.45.1 "
1+ __VERSION__ = "0.46.0 "
You can’t perform that action at this time.
0 commit comments