Re:Firefly III: A free and open source personal finance manager
by the_mungler on Friday February 16, 2024 @12:20AM
(#39393473)
I've been looking through the repository on GitHub and I for the life of me can't figure out where the SQL code is. How is the database created? What do the tables look like? I've never looked at a php codebase before, I'm quite lost. I'm guessing this is using some ORM provided by Laravel?
[ Parent
| on HN ]
Re:Firefly III: A free and open source personal finance manager
by leonjza on Friday February 16, 2024 @12:37AM
(#39393571)
Creation is done by running migrations [1] (invoked via Laravel's artisan command line). Using the database is done via Models[2].
[1] https://github.com/firefly-iii/firefly-iii/tree/main/databas... [2] https://github.com/firefly-iii/firefly-iii/tree/main/app/Mod...
Re:Firefly III: A free and open source personal finance manager
by c0pium on Friday February 16, 2024 @12:54AM
(#39393679)
Not SQL, but check out the contents of the database folder. For example:
https://github.com/firefly-iii/firefly-iii/blob/main/databas...