The UK did likewise when they were facing imminent threat in 1939, every adult and child had an ID issued to them, and in effect the UK became a "papers please" society. Ended in 1955 although after that the (non-digital) database was used to kick start access to the NHS.
add a skeleton here at some point
about 9 hours ago