View Issue Details

IDProjectCategoryView StatusLast Update
0005318Talerobsolete componentpublic2018-04-15 20:36
ReporterFlorian Dold Assigned ToMarcello Stanisci  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Fixed in Version0.5 
Summary0005318: bank's migrations should be squashed
DescriptionWe now have a huge list of migrations, until we're at the point where the bank is very stable and used by others, we shouldn't bother with migrations.
TagsNo tags attached.

Activities

Florian Dold

2018-04-09 00:59

manager   ~0012915

note that django admin has some functionality to automatically squash them

Marcello Stanisci

2018-04-09 10:15

reporter   ~0012916

The following output comes from the command:

$ git ls-tree HEAD --name-only -r

...
talerbank/app/management/commands/wire_transfer.py
talerbank/app/middleware.py
talerbank/app/migrations/0001_squashed_0013_remove_banktransaction_reimburses.py
talerbank/app/migrations/Makefile.am
talerbank/app/migrations/__init__.py
talerbank/app/models.py
...

You can see that we have only one migration file. Clearly, old installations
on e.g. Tripwire may still contain some old migration file sitting around, but
master branch (686eb7843b1b41fe42166da2..) must have one-and-squashed migration.

Florian Dold

2018-04-09 13:27

manager   ~0012917

Sorry, this was a problem with stale files in my local copy, Marcello you're right and it was completely fine.

Issue History

Date Modified Username Field Change
2018-04-09 00:58 Florian Dold New Issue
2018-04-09 00:58 Florian Dold Status new => assigned
2018-04-09 00:58 Florian Dold Assigned To => Marcello Stanisci
2018-04-09 00:59 Florian Dold Note Added: 0012915
2018-04-09 10:15 Marcello Stanisci Note Added: 0012916
2018-04-09 13:27 Florian Dold Status assigned => resolved
2018-04-09 13:27 Florian Dold Resolution open => fixed
2018-04-09 13:27 Florian Dold Note Added: 0012917
2018-04-15 20:35 Christian Grothoff Fixed in Version => 0.5
2018-04-15 20:36 Christian Grothoff Status resolved => closed
2022-08-23 20:26 Christian Grothoff Category bank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 01:23 Christian Grothoff Category py bank (demonstrator, obsolete) => obsolete componet
2023-12-11 20:08 Florian Dold Category obsolete componet => obsolete component