I spent over 30 years specializing in relational database projects for Fortune 100 companies and government agencies. Ingres, Oracle, Postgres, System R, Sybase, M$ SQL Server, DB2 or whatever they call their products now; I didn't discriminate and worked on energy, telecom, finance, and manufacturing projects and my employers didn't give a hoot about my prior industry. It was all applied set theory to me and I always got offers after the overwhelming majority of my technical interviews.
I passed into the three figure per hour realm decades ago and never suffered from lack of work during downturns in the early eighties, 1991, 2001, 2008 or what have you. I took long vacations, socked away scads of dough, and don't work anymore because I invest when I'm not at the beach.
There are still tons of jobs out there for people who understand how set theory and ACID transactions are implemented in databases.
As long as your IQ is a minimum of 130 you shouldn't have any trouble finding work. Just stay away from fads like particular languages and anything that reeks of agile development or use cases and you will be fine. DBA's always have the final say on how crackpot developers will actually store permanent data despite whatever moronic methodology du jour the developers think they are using.
I judge a religion as being good or bad based on whether its adherents become better people as a result of practicing it. - Joe Mullally, computer salesman