Duplicate logs table migration

Since redoing the `logs` table migrations via JRuby on CI is a bit unreliable and dependent on network, duplicate the migration here.