TokenScope = mondelefant.new_class() TokenScope.table = 'token_scope' TokenScope.primary_key = { "token_id", "index" }