Remove deprecated code
Merge pull request #536 from romainneutron/sql-tables

[3.8] Remove deprecated code